org.apache.camel.component.jms
Class JmsConfiguration.CamelJmsTemplate

java.lang.Object
  extended by org.springframework.jms.support.JmsAccessor
      extended by org.springframework.jms.support.destination.JmsDestinationAccessor
          extended by org.springframework.jms.core.JmsTemplate
              extended by org.apache.camel.component.jms.JmsConfiguration.CamelJmsTemplate
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.jms.core.JmsOperations
Enclosing class:
JmsConfiguration

public static class JmsConfiguration.CamelJmsTemplate
extends org.springframework.jms.core.JmsTemplate


Field Summary
 
Fields inherited from class org.springframework.jms.core.JmsTemplate
RECEIVE_TIMEOUT_INDEFINITE_WAIT, RECEIVE_TIMEOUT_NO_WAIT
 
Fields inherited from class org.springframework.jms.support.JmsAccessor
logger
 
Constructor Summary
JmsConfiguration.CamelJmsTemplate(JmsConfiguration config, javax.jms.ConnectionFactory connectionFactory)
           
 
Method Summary
protected  void doSend(javax.jms.MessageProducer producer, javax.jms.Message message)
          Override so we can support preserving the Qos settings that have been set on the message.
 void send(javax.jms.Destination destination, org.springframework.jms.core.MessageCreator messageCreator)
           
 void send(javax.jms.Destination destination, org.springframework.jms.core.MessageCreator messageCreator, MessageSentCallback callback)
           
 void send(String destinationName, org.springframework.jms.core.MessageCreator messageCreator)
           
 void send(String destinationName, org.springframework.jms.core.MessageCreator messageCreator, MessageSentCallback callback)
           
 
Methods inherited from class org.springframework.jms.core.JmsTemplate
browse, browse, browse, browseSelected, browseSelected, browseSelected, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, createBrowser, createConsumer, createProducer, doConvertFromMessage, doCreateProducer, doReceive, doReceive, doSend, execute, execute, execute, execute, execute, getConnection, getDefaultDestination, getDefaultDestinationName, getDeliveryMode, getMessageConverter, getPriority, getReceiveTimeout, getSession, getTimeToLive, initDefaultStrategies, isExplicitQosEnabled, isMessageIdEnabled, isMessageTimestampEnabled, isPubSubNoLocal, isSessionLocallyTransacted, receive, receive, receive, receiveAndConvert, receiveAndConvert, receiveAndConvert, receiveSelected, receiveSelected, receiveSelected, receiveSelectedAndConvert, receiveSelectedAndConvert, receiveSelectedAndConvert, send, setDefaultDestination, setDefaultDestinationName, setDeliveryMode, setDeliveryPersistent, setExplicitQosEnabled, setMessageConverter, setMessageIdEnabled, setMessageTimestampEnabled, setPriority, setPubSubNoLocal, setReceiveTimeout, setTimeToLive
 
Methods inherited from class org.springframework.jms.support.destination.JmsDestinationAccessor
getDestinationResolver, isPubSubDomain, resolveDestinationName, setDestinationResolver, setPubSubDomain
 
Methods inherited from class org.springframework.jms.support.JmsAccessor
afterPropertiesSet, convertJmsAccessException, createConnection, createSession, getConnectionFactory, getSessionAcknowledgeMode, isClientAcknowledge, isSessionTransacted, setConnectionFactory, setSessionAcknowledgeMode, setSessionAcknowledgeModeName, setSessionTransacted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConfiguration.CamelJmsTemplate

public JmsConfiguration.CamelJmsTemplate(JmsConfiguration config,
                                         javax.jms.ConnectionFactory connectionFactory)
Method Detail

send

public void send(String destinationName,
                 org.springframework.jms.core.MessageCreator messageCreator,
                 MessageSentCallback callback)
          throws org.springframework.jms.JmsException
Throws:
org.springframework.jms.JmsException

send

public void send(javax.jms.Destination destination,
                 org.springframework.jms.core.MessageCreator messageCreator,
                 MessageSentCallback callback)
          throws org.springframework.jms.JmsException
Throws:
org.springframework.jms.JmsException

send

public void send(String destinationName,
                 org.springframework.jms.core.MessageCreator messageCreator)
          throws org.springframework.jms.JmsException
Specified by:
send in interface org.springframework.jms.core.JmsOperations
Overrides:
send in class org.springframework.jms.core.JmsTemplate
Throws:
org.springframework.jms.JmsException

send

public void send(javax.jms.Destination destination,
                 org.springframework.jms.core.MessageCreator messageCreator)
          throws org.springframework.jms.JmsException
Specified by:
send in interface org.springframework.jms.core.JmsOperations
Overrides:
send in class org.springframework.jms.core.JmsTemplate
Throws:
org.springframework.jms.JmsException

doSend

protected void doSend(javax.jms.MessageProducer producer,
                      javax.jms.Message message)
               throws javax.jms.JMSException
Override so we can support preserving the Qos settings that have been set on the message.

Overrides:
doSend in class org.springframework.jms.core.JmsTemplate
Throws:
javax.jms.JMSException


Apache Camel