|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.ServiceAdapter
flex.messaging.services.messaging.adapters.MessagingAdapter
org.springframework.flex.messaging.jms.JmsAdapter
public class JmsAdapter
A MessagingAdapter implementation that enables sending and receiving messages via JMS.
| Field Summary |
|---|
| Fields inherited from class flex.messaging.services.ServiceAdapter |
|---|
LOG_CATEGORY |
| Fields inherited from class flex.management.ManageableComponent |
|---|
control, id, managed, NULL_COMPONENT_PROPERTY, parent, PROPERTY_CHANGE_AFTER_STARTUP, started, valid |
| Constructor Summary | |
|---|---|
JmsAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
JmsTemplate |
getJmsTemplate()
Returns the JmsTemplate used by this adapter |
boolean |
handlesSubscriptions()
|
Object |
invoke(Message flexMessage)
Invoked when a Message is received from a Flex client. |
Object |
manage(CommandMessage commandMessage)
|
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
|
void |
setBeanName(String beanName)
|
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
Sets the ConnectionFactory to use for sending and receiving JMS messages |
void |
setDestinationResolver(DestinationResolver destinationResolver)
Sets the DestinationResolver for resolving the JMS destination for this adapter |
void |
setJmsDestination(javax.jms.Destination destination)
Sets the JMS Destination for messages sent and received by this adapter |
void |
setMessageConverter(MessageConverter messageConverter)
Sets the MessageConverter for messages sent and received by this adapter. |
void |
setQueueName(String queueName)
Sets the JMS queue name for messages sent and received by this adapter. |
void |
setTopicName(String topicName)
Sets the JMS topic name for messages sent and received by this adapter. |
void |
setTransactionManager(PlatformTransactionManager transactionManager)
Sets the PlatformTransactionManager to be used when sending and receiving messages |
void |
start()
|
void |
stop()
|
| Methods inherited from class flex.messaging.services.messaging.adapters.MessagingAdapter |
|---|
allowSend, allowSubscribe, getSecurityConstraintManager, initialize, setSecurityConstraintManager, validate |
| Methods inherited from class flex.messaging.services.ServiceAdapter |
|---|
getAdapterState, getDestination, getLogCategory, setAdapterState, setDestination, setupAdapterControl |
| Methods inherited from class flex.management.ManageableComponent |
|---|
blockAssignmentWhileStarted, blockNullAssignment, getControl, getId, getParent, invalidate, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent, setStarted, setValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmsAdapter()
| Method Detail |
|---|
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic JmsTemplate getJmsTemplate()
JmsTemplate used by this adapter
public boolean handlesSubscriptions()
handlesSubscriptions in class ServiceAdapterpublic Object invoke(Message flexMessage)
invoke in class ServiceAdapterpublic Object manage(CommandMessage commandMessage)
manage in class ServiceAdapterpublic void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
ConnectionFactory to use for sending and receiving JMS messages
connectionFactory - the connection factorypublic void setDestinationResolver(DestinationResolver destinationResolver)
DestinationResolver for resolving the JMS destination for this adapter
destinationResolver - the destination resolverpublic void setJmsDestination(javax.jms.Destination destination)
Destination for messages sent and received by this adapter
destination - the destinationpublic void setMessageConverter(MessageConverter messageConverter)
MessageConverter for messages sent and received by this adapter.
messageConverter - the message converterpublic void setQueueName(String queueName)
queueName - the JMS queue namepublic void setTopicName(String topicName)
topicName - the JMS topic namepublic void setTransactionManager(PlatformTransactionManager transactionManager)
PlatformTransactionManager to be used when sending and receiving messages
transactionManager - the transaction managerpublic void start()
start in interface FlexComponentstart in class ServiceAdapterpublic void stop()
stop in interface FlexComponentstop in class ServiceAdapterpublic void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface ApplicationEventPublisherAware
|
Spring BlazeDS Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||