/** * Creates a new instance with the given name, or converts an existing instance at this location if one already exists */ public JmsDestinationModel createUnique(Set<ProjectModel> applications, String jndiName, JmsDestinationType destinationType) { JmsDestinationModel model = createUnique(applications, jndiName); model.setDestinationType(destinationType); return model; }
/** * Creates a new instance with the given name, or converts an existing instance at this location if one already exists */ public JmsDestinationModel createUnique(Set<ProjectModel> applications, String jndiName, JmsDestinationType destinationType) { JmsDestinationModel model = createUnique(applications, jndiName); model.setDestinationType(destinationType); return model; }
jms.setDestinationType(JmsDestinationType.QUEUE); jms.setDestinationType(JmsDestinationType.TOPIC);
jms.setDestinationType(JmsDestinationType.QUEUE); jms.setDestinationType(JmsDestinationType.TOPIC);