public class OutgoingJmsFactory extends JmsFactory
| Constructor and Description |
|---|
OutgoingJmsFactory(ConnectionFactory connectionFactory)
Creates a new factory that uses the given standard JMS
connection factory to create connections.
|
| Modifier and Type | Method and Description |
|---|---|
JmsTemplate |
createJmsTemplate(String dstName,
boolean isDstTopic)
Returns a new Spring JMS connection template for the given
destination (and of the given type), and for a producer which
emits objects supported by
SimpleMessageConverter. |
JmsTemplate |
createJmsTemplate(String dstName,
boolean isDstTopic,
MessageConverter messageConverter)
Returns a new Spring JMS connection template for the given
destination (and of the given type).
|
JmsTemplate |
createJmsTemplateQ(String dstName,
boolean isDstTopic)
Returns a new Spring JMS connection template for the given
destination (and of the given type), and for a
producer which emits QuickFIX/J messages.
|
JmsTemplate |
createJmsTemplateX(String dstName,
boolean isDstTopic)
Returns a new Spring JMS connection template for the given
destination (and of the given type), and for a producer which
emits FIX Agnostic trade messages, order message envelopes, or
broker status messages, transported using XML.
|
getConnectionFactorypublic OutgoingJmsFactory(ConnectionFactory connectionFactory)
connectionFactory - The factory.public JmsTemplate createJmsTemplate(String dstName, boolean isDstTopic, MessageConverter messageConverter)
dstName - The destination name.isDstTopic - True if the destination is a topic.messageConverter - The converter.public JmsTemplate createJmsTemplate(String dstName, boolean isDstTopic)
SimpleMessageConverter.dstName - The destination name.isDstTopic - True if the destination is a topic.public JmsTemplate createJmsTemplateQ(String dstName, boolean isDstTopic)
dstName - The destination name.isDstTopic - True if the destination is a topic.public JmsTemplate createJmsTemplateX(String dstName, boolean isDstTopic) throws JAXBException
dstName - The destination name.isDstTopic - True if the destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.Copyright © 2015. All Rights Reserved.