Home » apache-camel-1.5.0-src » org.apache » camel » component » jms » [javadoc | source]
org.apache.camel.component.jms
public class: JmsConfiguration [javadoc | source]
java.lang.Object
   org.apache.camel.component.jms.JmsConfiguration

All Implemented Interfaces:
    Cloneable

Nested Class Summary:
public static interface  JmsConfiguration.MessageSentCallback   
public static class  JmsConfiguration.CamelJmsTemplate   
public static class  JmsConfiguration.CamelJmsTeemplate102   
Field Summary
public static final  String QUEUE_PREFIX     
public static final  String TOPIC_PREFIX     
public static final  String TEMP_QUEUE_PREFIX     
public static final  String TEMP_TOPIC_PREFIX     
protected static final  String TRANSACTED     
protected static final  String CLIENT_ACKNOWLEDGE     
protected static final  String AUTO_ACKNOWLEDGE     
protected static final  String DUPS_OK_ACKNOWLEDGE     
protected static final  String REPLYTO_TEMP_DEST_AFFINITY_PER_COMPONENT     
protected static final  String REPLYTO_TEMP_DEST_AFFINITY_PER_ENDPOINT     
protected static final  String REPLYTO_TEMP_DEST_AFFINITY_PER_PRODUCER     
Constructor:
 public JmsConfiguration() 
 public JmsConfiguration(ConnectionFactory connectionFactory) 
Method from org.apache.camel.component.jms.JmsConfiguration Summary:
chooseMessageListenerContainerImplementation,   configure,   configureMessageListenerContainer,   configuredQoS,   copy,   createConnectionFactory,   createDestinationResolver,   createInOnlyTemplate,   createInOutTemplate,   createListenerConnectionFactory,   createMessageListenerContainer,   createTemplateConnectionFactory,   defaultCacheLevel,   getAcknowledgementMode,   getAcknowledgementModeName,   getCacheLevel,   getCacheLevelName,   getClientId,   getConcurrentConsumers,   getConnectionFactory,   getConsumerType,   getDestinationResolver,   getDurableSubscriptionName,   getExceptionListener,   getIdleTaskExecutionLimit,   getJmsOperations,   getListenerConnectionFactory,   getMaxConcurrentConsumers,   getMaxMessagesPerTask,   getMessageConverter,   getMetadataJmsOperations,   getPriority,   getProviderMetadata,   getReceiveTimeout,   getRecoveryInterval,   getReplyTo,   getReplyToDestinationSelectorName,   getReplyToTempDestinationAffinity,   getRequestMapPurgePollTimeMillis,   getRequestTimeout,   getServerSessionFactory,   getTaskExecutor,   getTemplateConnectionFactory,   getTimeToLive,   getTransactionManager,   getTransactionName,   getTransactionTimeout,   isAcceptMessagesWhileStopping,   isAlwaysCopyMessage,   isAutoStartup,   isDeliveryPersistent,   isDisableReplyTo,   isEagerLoadingOfProperties,   isExplicitQosEnabled,   isExposeListenerSession,   isMessageIdEnabled,   isMessageTimestampEnabled,   isPreserveMessageQos,   isPubSubNoLocal,   isReplyToDeliveryPersistent,   isSubscriptionDurable,   isTransacted,   isTransactedInOut,   isUseMessageIDAsCorrelationID,   isUseVersion102,   setAcceptMessagesWhileStopping,   setAcknowledgementMode,   setAcknowledgementModeName,   setAlwaysCopyMessage,   setAutoStartup,   setCacheLevel,   setCacheLevelName,   setClientId,   setConcurrentConsumers,   setConnectionFactory,   setConsumerType,   setDeliveryPersistent,   setDestinationResolver,   setDisableReplyTo,   setDurableSubscriptionName,   setEagerLoadingOfProperties,   setExceptionListener,   setExplicitQosEnabled,   setExposeListenerSession,   setIdleTaskExecutionLimit,   setJmsOperations,   setListenerConnectionFactory,   setMaxConcurrentConsumers,   setMaxMessagesPerTask,   setMessageConverter,   setMessageIdEnabled,   setMessageTimestampEnabled,   setMetadataJmsOperations,   setPreserveMessageQos,   setPriority,   setProviderMetadata,   setPubSubNoLocal,   setReceiveTimeout,   setRecoveryInterval,   setReplyTo,   setReplyToDeliveryPersistent,   setReplyToDestinationSelectorName,   setReplyToTempDestinationAffinity,   setRequestMapPurgePollTimeMillis,   setRequestTimeout,   setServerSessionFactory,   setSubscriptionDurable,   setTaskExecutor,   setTemplateConnectionFactory,   setTimeToLive,   setTransacted,   setTransactedInOut,   setTransactionManager,   setTransactionName,   setTransactionTimeout,   setUseMessageIDAsCorrelationID,   setUseVersion102
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.camel.component.jms.JmsConfiguration Detail:
 public AbstractMessageListenerContainer chooseMessageListenerContainerImplementation() 
 public  void configure(EndpointMessageListener listener) 
 protected  void configureMessageListenerContainer(AbstractMessageListenerContainer container,
    JmsEndpoint endpoint) 
 protected  void configuredQoS() 
 public JmsConfiguration copy() 
    Returns a copy of this configuration
 protected ConnectionFactory createConnectionFactory() 
    Factory method which allows derived classes to customize the lazy creation
 public static DestinationResolver createDestinationResolver(DestinationEndpoint destinationEndpoint) 
 public JmsOperations createInOnlyTemplate(JmsEndpoint endpoint,
    boolean pubSubDomain,
    String destination) 
 public JmsOperations createInOutTemplate(JmsEndpoint endpoint,
    boolean pubSubDomain,
    String destination,
    long requestTimeout) 
    Creates a JmsOperations object used for request/response using a request timeout value
 protected ConnectionFactory createListenerConnectionFactory() 
    Factory method which allows derived classes to customize the lazy creation
 public AbstractMessageListenerContainer createMessageListenerContainer(JmsEndpoint endpoint) 
 protected ConnectionFactory createTemplateConnectionFactory() 
    Factory method which allows derived classes to customize the lazy creation
 protected int defaultCacheLevel(JmsEndpoint endpoint) 
    Defaults the JMS cache level if none is explicitly specified. Note that due to this Spring Bug we cannot use CACHE_CONSUMER by default (which we should do as its most efficient) unless the spring version is 2.5.1 or later. Instead we use CACHE_CONNECTION - part from for non-durable topics which must use CACHE_CONSUMER to avoid missing messages (due to the consumer being created and destroyed per message).
 public int getAcknowledgementMode() 
 public String getAcknowledgementModeName() 
 public int getCacheLevel() 
 public String getCacheLevelName() 
 public String getClientId() 
 public int getConcurrentConsumers() 
 public ConnectionFactory getConnectionFactory() 
 public ConsumerType getConsumerType() 
 public DestinationResolver getDestinationResolver() 
 public String getDurableSubscriptionName() 
 public ExceptionListener getExceptionListener() 
 public int getIdleTaskExecutionLimit() 
 public JmsOperations getJmsOperations() 
 public ConnectionFactory getListenerConnectionFactory() 
 public int getMaxConcurrentConsumers() 
 public int getMaxMessagesPerTask() 
 public MessageConverter getMessageConverter() 
 public JmsOperations getMetadataJmsOperations(JmsEndpoint endpoint) 
 public int getPriority() 
 public JmsProviderMetadata getProviderMetadata() 
 public long getReceiveTimeout() 
 public long getRecoveryInterval() 
 public String getReplyTo() 
 public String getReplyToDestinationSelectorName() 
 public String getReplyToTempDestinationAffinity() 
 public long getRequestMapPurgePollTimeMillis() 
 public long getRequestTimeout() 
 public ServerSessionFactory getServerSessionFactory() 
 public TaskExecutor getTaskExecutor() 
 public ConnectionFactory getTemplateConnectionFactory() 
 public long getTimeToLive() 
 public PlatformTransactionManager getTransactionManager() 
 public String getTransactionName() 
 public int getTransactionTimeout() 
 public boolean isAcceptMessagesWhileStopping() 
 public boolean isAlwaysCopyMessage() 
 public boolean isAutoStartup() 
 public boolean isDeliveryPersistent() 
 public boolean isDisableReplyTo() 
 public boolean isEagerLoadingOfProperties() 
 public boolean isExplicitQosEnabled() 
 public boolean isExposeListenerSession() 
 public boolean isMessageIdEnabled() 
 public boolean isMessageTimestampEnabled() 
 public boolean isPreserveMessageQos() 
 public boolean isPubSubNoLocal() 
 public boolean isReplyToDeliveryPersistent() 
 public boolean isSubscriptionDurable() 
 public boolean isTransacted() 
 public boolean isTransactedInOut() 
    Should InOut operations (request reply) default to using transacted mode? By default this is false as you need to commit the outgoing request before you can consume the input
 public boolean isUseMessageIDAsCorrelationID() 
 public boolean isUseVersion102() 
 public  void setAcceptMessagesWhileStopping(boolean acceptMessagesWhileStopping) 
 public  void setAcknowledgementMode(int consumerAcknowledgementMode) 
 public  void setAcknowledgementModeName(String consumerAcknowledgementMode) 
 public  void setAlwaysCopyMessage(boolean alwaysCopyMessage) 
 public  void setAutoStartup(boolean autoStartup) 
 public  void setCacheLevel(int cacheLevel) 
 public  void setCacheLevelName(String cacheName) 
 public  void setClientId(String consumerClientId) 
 public  void setConcurrentConsumers(int concurrentConsumers) 
 public  void setConnectionFactory(ConnectionFactory connectionFactory) 
 public  void setConsumerType(ConsumerType consumerType) 
 public  void setDeliveryPersistent(boolean deliveryPersistent) 
 public  void setDestinationResolver(DestinationResolver destinationResolver) 
 public  void setDisableReplyTo(boolean disableReplyTo) 
    Disables the use of the JMSReplyTo header for consumers so that inbound messages are treated as InOnly rather than InOut requests.
 public  void setDurableSubscriptionName(String durableSubscriptionName) 
 public  void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) 
    Enables eager loading of JMS properties as soon as a message is loaded which generally is inefficient as the JMS properties may not be required but sometimes can catch early any issues with the underlying JMS provider and the use of JMS properties
 public  void setExceptionListener(ExceptionListener exceptionListener) 
 public  void setExplicitQosEnabled(boolean explicitQosEnabled) 
 public  void setExposeListenerSession(boolean exposeListenerSession) 
 public  void setIdleTaskExecutionLimit(int idleTaskExecutionLimit) 
 public  void setJmsOperations(JmsOperations jmsOperations) 
 public  void setListenerConnectionFactory(ConnectionFactory listenerConnectionFactory) 
 public  void setMaxConcurrentConsumers(int maxConcurrentConsumers) 
 public  void setMaxMessagesPerTask(int maxMessagesPerTask) 
 public  void setMessageConverter(MessageConverter messageConverter) 
 public  void setMessageIdEnabled(boolean messageIdEnabled) 
 public  void setMessageTimestampEnabled(boolean messageTimestampEnabled) 
 public  void setMetadataJmsOperations(JmsOperations metadataJmsOperations) 
 public  void setPreserveMessageQos(boolean preserveMessageQos) 
    Set to true if you want to send message using the QoS settings specified on the message. Normally the QoS settings used are the one configured on this Object.
 public  void setPriority(int priority) 
 public  void setProviderMetadata(JmsProviderMetadata providerMetadata) 
    Allows the provider metadata to be explicitly configured. Typically this is not required and Camel will auto-detect the provider metadata from the underlying provider.
 public  void setPubSubNoLocal(boolean pubSubNoLocal) 
 public  void setReceiveTimeout(long receiveTimeout) 
 public  void setRecoveryInterval(long recoveryInterval) 
 public  void setReplyTo(String replyToDestination) 
 public  void setReplyToDeliveryPersistent(boolean replyToDeliveryPersistent) 
 public  void setReplyToDestinationSelectorName(String replyToDestinationSelectorName) 
 public  void setReplyToTempDestinationAffinity(String replyToTempDestinationAffinity) 
 public  void setRequestMapPurgePollTimeMillis(long requestMapPurgePollTimeMillis) 
    Sets the frequency that the requestMap for InOut exchanges is purged for timed out message exchanges
 public  void setRequestTimeout(long requestTimeout) 
    Sets the timeout in milliseconds which requests should timeout after
 public  void setServerSessionFactory(ServerSessionFactory serverSessionFactory) 
 public  void setSubscriptionDurable(boolean subscriptionDurable) 
 public  void setTaskExecutor(TaskExecutor taskExecutor) 
 public  void setTemplateConnectionFactory(ConnectionFactory templateConnectionFactory) 
 public  void setTimeToLive(long timeToLive) 
 public  void setTransacted(boolean consumerTransacted) 
 public  void setTransactedInOut(boolean transactedInOut) 
 public  void setTransactionManager(PlatformTransactionManager transactionManager) 
 public  void setTransactionName(String transactionName) 
 public  void setTransactionTimeout(int transactionTimeout) 
 public  void setUseMessageIDAsCorrelationID(boolean useMessageIDAsCorrelationID) 
 public  void setUseVersion102(boolean useVersion102)