|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.consol.citrus.jms.AbstractJmsAdapter
public abstract class AbstractJmsAdapter
Basic adapter class for JMS communication. The adapter uses Spring's JmsTemplate.
| Constructor Summary | |
|---|---|
AbstractJmsAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initialize default JMS template if not already set. |
TestActor |
getActor()
Gets the actor. |
javax.jms.ConnectionFactory |
getConnectionFactory()
Gets the connection factory. |
String |
getDefaultDestinationName()
Gets the destination name. |
javax.jms.Destination |
getDestination()
Gets the destination. |
String |
getDestinationName()
Gets the destination name. |
org.springframework.jms.support.destination.DestinationResolver |
getDestinationResolver()
Sets the destination resolver. |
org.springframework.integration.jms.JmsHeaderMapper |
getHeaderMapper()
Gets the JMS header mapper. |
org.springframework.jms.core.JmsTemplate |
getJmsTemplate()
Gets the JMS template. |
org.springframework.jms.support.converter.MessageConverter |
getMessageConverter()
Gets the JMS message converter. |
boolean |
isPubSubDomain()
Does domain use topics instead of queues. |
void |
setActor(TestActor actor)
Sets the actor. |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
Sets the connection factory. |
void |
setDestination(javax.jms.Destination destination)
Sets the destination. |
void |
setDestinationName(String destinationName)
Sets the destination name. |
void |
setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
Gets the destination resolver. |
void |
setHeaderMapper(org.springframework.integration.jms.JmsHeaderMapper headerMapper)
Sets the JMS header mapper. |
void |
setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
Sets the JMS template. |
void |
setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
Sets the JMS message converter. |
void |
setPubSubDomain(boolean pubSubDomain)
Sets if domain uses topics instead of queues. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractJmsAdapter()
| Method Detail |
|---|
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic boolean isPubSubDomain()
public void setPubSubDomain(boolean pubSubDomain)
pubSubDomain - the pubSubDomain to setpublic javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
connectionFactory - the connectionFactory to setpublic javax.jms.Destination getDestination()
public void setDestination(javax.jms.Destination destination)
destination - the destination to setpublic String getDefaultDestinationName()
public String getDestinationName()
public void setDestinationName(String destinationName)
destinationName - the destinationName to setpublic org.springframework.jms.support.destination.DestinationResolver getDestinationResolver()
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
destinationResolver - the destinationResolver to setpublic org.springframework.jms.support.converter.MessageConverter getMessageConverter()
public void setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
messageConverter - the messageConverter to setpublic org.springframework.integration.jms.JmsHeaderMapper getHeaderMapper()
public void setHeaderMapper(org.springframework.integration.jms.JmsHeaderMapper headerMapper)
headerMapper - the headerMapper to setpublic void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
jmsTemplate - the jmsTemplate to setpublic org.springframework.jms.core.JmsTemplate getJmsTemplate()
public TestActor getActor()
public void setActor(TestActor actor)
actor - the actor to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||