/** * Lazily loads the temporary queue type if one has not been explicitly configured * via calling the {@link JmsProviderMetadata#setTemporaryQueueType(Class)} * on the {@link #getConfiguration()} instance */ public Class<? extends TemporaryQueue> getTemporaryQueueType() { JmsProviderMetadata metadata = getProviderMetadata(); JmsOperations template = getMetadataJmsOperations(); return metadata.getTemporaryQueueType(template); }
/** * 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); }