/** * Lazily loads the temporary topic type if one has not been explicitly configured * via calling the {@link #setTemporaryTopicType(Class)} */ public Class<? extends TemporaryTopic> getTemporaryTopicType(JmsOperations template) { Class<? extends TemporaryTopic> answer = getTemporaryTopicType(); if (answer == null) { loadTemporaryDestinationTypes(template); answer = getTemporaryTopicType(); } return answer; }
/** * Lazily loads the temporary topic type if one has not been explicitly configured * via calling the {@link JmsProviderMetadata#setTemporaryTopicType(Class)} * on the {@link #getConfiguration()} instance */ public Class<? extends TemporaryTopic> getTemporaryTopicType() { JmsOperations template = getMetadataJmsOperations(); JmsProviderMetadata metadata = getProviderMetadata(); return metadata.getTemporaryTopicType(template); }