public class IncomingJmsFactory extends JmsFactory
| Constructor and Description |
|---|
IncomingJmsFactory(javax.jms.ConnectionFactory connectionFactory,
javax.jms.ExceptionListener exceptionListener)
Creates a new factory that uses the given standard JMS
connection factory to create connections, and directs
exceptions to the given listener, if any.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ExceptionListener |
getExceptionListener()
Returns the receiver's exception listener.
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandler(ReceiveOnlyHandler<?> handler,
String inDstName,
boolean isInDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandler(ReceiveOnlyHandler<?> handler,
String inDstName,
boolean isInDstTopic,
org.springframework.jms.support.converter.MessageConverter messageConverter)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandler(ReplyHandler<?> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandler(ReplyHandler<?> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic,
org.springframework.jms.support.converter.MessageConverter messageConverter)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerBSX(ReceiveOnlyHandler<BrokerStatus> handler,
String inDstName,
boolean isInDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerBSX(ReplyHandler<BrokerStatus> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerOEX(ReceiveOnlyHandler<OrderEnvelope> handler,
String inDstName,
boolean isInDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerOEX(ReplyHandler<OrderEnvelope> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerQ(ReceiveOnlyHandler<quickfix.Message> handler,
String inDstName,
boolean isInDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerQ(ReplyHandler<quickfix.Message> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerTMX(ReceiveOnlyHandler<TradeMessage> handler,
String inDstName,
boolean isInDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
org.springframework.jms.listener.SimpleMessageListenerContainer |
registerHandlerTMX(ReplyHandler<TradeMessage> handler,
String inDstName,
boolean isInDstTopic,
String replyDstName,
boolean isReplyDstTopic)
Registers the given message handler for messages that are
received by the given incoming destination (and of the given
type).
|
getConnectionFactorypublic IncomingJmsFactory(javax.jms.ConnectionFactory connectionFactory,
javax.jms.ExceptionListener exceptionListener)
connectionFactory - The factory.exceptionListener - The listener. It may be null.public javax.jms.ExceptionListener getExceptionListener()
public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandler(ReplyHandler<?> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic, org.springframework.jms.support.converter.MessageConverter messageConverter)
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.messageConverter - The converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandler(ReceiveOnlyHandler<?> handler, String inDstName, boolean isInDstTopic, org.springframework.jms.support.converter.MessageConverter messageConverter)
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.messageConverter - The converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandler(ReplyHandler<?> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic)
SimpleMessageConverter. Returns the Spring container of the
handler (listener) for manual bean lifecycle management.handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandler(ReceiveOnlyHandler<?> handler, String inDstName, boolean isInDstTopic)
SimpleMessageConverter. Returns the Spring container
of the handler (listener) for manual bean lifecycle management.handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerQ(ReplyHandler<quickfix.Message> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic)
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerQ(ReceiveOnlyHandler<quickfix.Message> handler, String inDstName, boolean isInDstTopic)
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerTMX(ReplyHandler<TradeMessage> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerTMX(ReceiveOnlyHandler<TradeMessage> handler, String inDstName, boolean isInDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerOEX(ReceiveOnlyHandler<OrderEnvelope> handler, String inDstName, boolean isInDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerOEX(ReplyHandler<OrderEnvelope> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerBSX(ReplyHandler<BrokerStatus> handler, String inDstName, boolean isInDstTopic, String replyDstName, boolean isReplyDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.replyDstName - The reply destination name.isReplyDstTopic - True if the reply destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.public org.springframework.jms.listener.SimpleMessageListenerContainer registerHandlerBSX(ReceiveOnlyHandler<BrokerStatus> handler, String inDstName, boolean isInDstTopic) throws JAXBException
handler - The message handler.inDstName - The incoming destination name.isInDstTopic - True if the incoming destination is a topic.JAXBException - Thrown if an error occurs in creating the
JMS/XML converter.Copyright © 2014. All Rights Reserved.