org.figure8.join.core.messaging
Class ResolverJMSProducerBean
java.lang.Object
org.springframework.jms.core.support.JmsGatewaySupport
org.figure8.join.core.messaging.JMSProducerBean
org.figure8.join.core.messaging.ResolverJMSProducerBean
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class ResolverJMSProducerBean
- extends JMSProducerBean
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
Fields inherited from class org.springframework.jms.core.support.JmsGatewaySupport |
logger |
Methods inherited from class org.springframework.jms.core.support.JmsGatewaySupport |
afterPropertiesSet, createJmsTemplate, getConnectionFactory, getJmsTemplate, initGateway, setConnectionFactory, setJmsTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResolverJMSProducerBean
public ResolverJMSProducerBean()
- Creates a new instance of ResolverJMSProducerBean
ResolverJMSProducerBean
public ResolverJMSProducerBean(java.lang.String destinationName,
JMSDestinationResolver resolver)
- Creates a new instance of ResolverJMSProducerBean
- Parameters:
destinationName
- The name of destination to resolve using resolverresolver
- The resolver for getting the required destination
isTopicFirst
public boolean isTopicFirst()
- Returns:
- Destination resolution policy flag. True means first topic, then queue
setTopicFirst
public void setTopicFirst(boolean topicFirst)
- Parameters:
topicFirst
- Destination resolution policy flag. Set to true if first topic, then queue
getDestinationName
public java.lang.String getDestinationName()
- Returns:
- The name of destination to get using resolver and to produce messages onto
setDestinationName
public void setDestinationName(java.lang.String destinationName)
- Parameters:
destinationName
- The name of destination to get using resolver and to produce messages onto
getResolver
public JMSDestinationResolver getResolver()
- Returns:
- The resolver of JMS destinations to use for getting destination to produce messages onto
setResolver
public void setResolver(JMSDestinationResolver resolver)
- Parameters:
resolver
- The resolver of JMS destinations to use for getting destination to produce messages onto
getDestination
public javax.jms.Destination getDestination()
- Used the provided JMS destination resolver for remote destinations ...
- Specified by:
getDestination
in class JMSProducerBean
- Returns:
- The JMS destination to use when sending messages.
Copyright © 2005-2008 Join. All Rights Reserved.