org.apache.camel.component.jms
Class JmsTemporaryTopicEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.jms.JmsEndpoint
          extended by org.apache.camel.component.jms.JmsTemporaryTopicEndpoint
All Implemented Interfaces:
CamelContextAware, DestinationEndpoint, Endpoint, IsSingleton, HeaderFilterStrategyAware

public class JmsTemporaryTopicEndpoint
extends JmsEndpoint
implements DestinationEndpoint

A JMS Endpoint for working with a TemporaryTopic

Version:
$Revision: 748494 $

Constructor Summary
JmsTemporaryTopicEndpoint(String uri, JmsComponent component, String destination, JmsConfiguration configuration)
           
JmsTemporaryTopicEndpoint(String endpointUri, String destination)
           
JmsTemporaryTopicEndpoint(TemporaryTopic jmsDestination)
           
 
Method Summary
protected  Destination createJmsDestination(Session session)
           
 Destination getJmsDestination(Session session)
           
 boolean isSingleton()
          This endpoint is a singleton so that the temporary destination instances are shared across all producers and consumers of the same endpoint URI
 
Methods inherited from class org.apache.camel.component.jms.JmsEndpoint
checkValidTemplate, createConsumer, createConsumer, createEndpointUri, createExchange, createExchange, createInOnlyTemplate, createInOutTemplate, createPollingConsumer, createProducer, createProducer, getAcknowledgementMode, getAcknowledgementModeName, getBinding, getCacheLevel, getCacheLevelName, getClientId, getConcurrentConsumers, getConfiguration, getConnectionFactory, getConsumerType, getDestination, getDestinationName, getDestinationResolver, getDurableSubscriptionName, getExceptionListener, getHeaderFilterStrategy, getIdleTaskExecutionLimit, getJmsKeyFormatStrategy, getJmsMessageType, getJmsOperations, getListenerConnectionFactory, getMaxConcurrentConsumers, getMaxMessagesPerTask, getMessageConverter, getMetadataJmsOperations, getMetadataJmsOperations, getPriority, getProviderMetadata, getReceiveTimeout, getRecoveryInterval, getReplyTo, getReplyToDestinationSelectorName, getReplyToTempDestinationAffinity, getRequestMapPurgePollTimeMillis, getRequestor, getRequestTimeout, getSelector, getTaskExecutor, getTemplateConnectionFactory, getTemporaryQueueType, getTemporaryTopicType, getTimeToLive, getTransactionManager, getTransactionName, getTransactionTimeout, isAcceptMessagesWhileStopping, isAlwaysCopyMessage, isAutoStartup, isDeliveryPersistent, isDisableReplyTo, isEagerLoadingOfProperties, isExplicitQosEnabled, isExposeListenerSession, isMessageIdEnabled, isMessageTimestampEnabled, isPreserveMessageQos, isPubSubDomain, isPubSubNoLocal, isReplyToDeliveryPersistent, isSubscriptionDurable, isTransacted, isTransactedInOut, isTransferException, isTransferExchange, isUseMessageIDAsCorrelationID, isUseVersion102, newInstance, newInstance, setAcceptMessagesWhileStopping, setAcknowledgementMode, setAcknowledgementModeName, setAlwaysCopyMessage, setAutoStartup, setBinding, setCacheLevel, setCacheLevelName, setClientId, setConcurrentConsumers, setConfiguration, setConnectionFactory, setConsumerType, setDeliveryPersistent, setDestination, setDestinationName, setDestinationResolver, setDisableReplyTo, setDurableSubscriptionName, setEagerLoadingOfProperties, setExceptionListener, setExplicitQosEnabled, setExposeListenerSession, setHeaderFilterStrategy, setIdleTaskExecutionLimit, setJmsKeyFormatStrategy, setJmsMessageType, setJmsOperations, setListenerConnectionFactory, setMaxConcurrentConsumers, setMaxMessagesPerTask, setMessageConverter, setMessageIdEnabled, setMessageTimestampEnabled, setMetadataJmsOperations, setPreserveMessageQos, setPriority, setProviderMetadata, setPubSubNoLocal, setReceiveTimeout, setRecoveryInterval, setReplyTo, setReplyToDeliveryPersistent, setReplyToDestinationSelectorName, setReplyToTempDestinationAffinity, setRequestMapPurgePollTimeMillis, setRequestor, setRequestTimeout, setSelector, setSubscriptionDurable, setTaskExecutor, setTemplateConnectionFactory, setTimeToLive, setTransacted, setTransactedInOut, setTransactionManager, setTransactionName, setTransactionTimeout, setTransferException, setTransferExchange, setUseMessageIDAsCorrelationID, setUseVersion102
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, convertTo, createExchange, createExchange, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmsTemporaryTopicEndpoint

public JmsTemporaryTopicEndpoint(String uri,
                                 JmsComponent component,
                                 String destination,
                                 JmsConfiguration configuration)

JmsTemporaryTopicEndpoint

public JmsTemporaryTopicEndpoint(String endpointUri,
                                 String destination)

JmsTemporaryTopicEndpoint

public JmsTemporaryTopicEndpoint(TemporaryTopic jmsDestination)
                          throws JMSException
Throws:
JMSException
Method Detail

isSingleton

public boolean isSingleton()
This endpoint is a singleton so that the temporary destination instances are shared across all producers and consumers of the same endpoint URI

Specified by:
isSingleton in interface IsSingleton
Overrides:
isSingleton in class JmsEndpoint
Returns:
true

getJmsDestination

public Destination getJmsDestination(Session session)
                              throws JMSException
Specified by:
getJmsDestination in interface DestinationEndpoint
Throws:
JMSException

createJmsDestination

protected Destination createJmsDestination(Session session)
                                    throws JMSException
Throws:
JMSException


Apache CAMEL