|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.transport.jms.JMSFactory
public final class JMSFactory
Factory to create JmsTemplates and JmsListeners from configuration and context information
Method Summary | |
---|---|
static org.springframework.jms.listener.DefaultMessageListenerContainer |
createJmsListener(org.springframework.jms.listener.DefaultMessageListenerContainer jmsListener,
JMSConfiguration jmsConfig,
javax.jms.MessageListener listenerHandler,
String destinationName,
javax.jms.Destination destination,
String messageSelectorPrefix,
boolean userCID)
|
static org.springframework.jms.listener.AbstractMessageListenerContainer |
createJmsListener(EndpointInfo ei,
JMSConfiguration jmsConfig,
javax.jms.MessageListener listenerHandler,
String destinationName)
Create and start listener using configuration information from jmsConfig. |
static org.springframework.jms.listener.DefaultMessageListenerContainer |
createJmsListener(JMSConfiguration jmsConfig,
javax.jms.MessageListener listenerHandler,
javax.jms.Destination destination,
String messageSelectorPrefix,
boolean userCID)
Create and start listener using configuration information from jmsConfig. |
static org.springframework.jms.listener.DefaultMessageListenerContainer |
createJmsListener(JMSConfiguration jmsConfig,
javax.jms.MessageListener listenerHandler,
String destination,
String messageSelectorPrefix,
boolean userCID)
|
static org.springframework.jms.core.JmsTemplate |
createJmsTemplate(JMSConfiguration jmsConfig,
JMSMessageHeadersType messageProperties)
Create JmsTemplate from configuration information. |
static javax.jms.Destination |
resolveOrCreateDestination(org.springframework.jms.core.JmsTemplate jmsTemplate,
String replyToDestinationName,
boolean pubSubDomain)
If the destinationName given is null then a temporary destination is created else the destination name is resolved using the resolver from the jmsConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.springframework.jms.core.JmsTemplate createJmsTemplate(JMSConfiguration jmsConfig, JMSMessageHeadersType messageProperties)
jmsConfig
- configuration informationmessageProperties
- context headers
public static org.springframework.jms.listener.AbstractMessageListenerContainer createJmsListener(EndpointInfo ei, JMSConfiguration jmsConfig, javax.jms.MessageListener listenerHandler, String destinationName)
ei
- the EndpointInfo for the listenerjmsConfig
- configuration informationlistenerHandler
- object to be called when a message arrivesdestinationName
- null for temp dest or a destination name
public static org.springframework.jms.listener.DefaultMessageListenerContainer createJmsListener(JMSConfiguration jmsConfig, javax.jms.MessageListener listenerHandler, javax.jms.Destination destination, String messageSelectorPrefix, boolean userCID)
jmsConfig
- configuration informationlistenerHandler
- object to be called when a message arrivesdestinationName
- null for temp dest or a destination namemessageSelectorPrefix
- prefix for the messageselector
public static org.springframework.jms.listener.DefaultMessageListenerContainer createJmsListener(JMSConfiguration jmsConfig, javax.jms.MessageListener listenerHandler, String destination, String messageSelectorPrefix, boolean userCID)
public static org.springframework.jms.listener.DefaultMessageListenerContainer createJmsListener(org.springframework.jms.listener.DefaultMessageListenerContainer jmsListener, JMSConfiguration jmsConfig, javax.jms.MessageListener listenerHandler, String destinationName, javax.jms.Destination destination, String messageSelectorPrefix, boolean userCID)
public static javax.jms.Destination resolveOrCreateDestination(org.springframework.jms.core.JmsTemplate jmsTemplate, String replyToDestinationName, boolean pubSubDomain)
jmsTemplate
- template to use for session and resolverreplyToDestinationName
- null for temporary destination or a destination namepubSubDomain
- true=pubSub, false=Queues
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |