org.figure8.join.core.messaging
Class SimpleJMSProducerBean

java.lang.Object
  extended by org.springframework.jms.core.support.JmsGatewaySupport
      extended by org.figure8.join.core.messaging.JMSProducerBean
          extended by org.figure8.join.core.messaging.SimpleJMSProducerBean
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class SimpleJMSProducerBean
extends JMSProducerBean

Simple extension of JMSProducerBean that acquires its JMS destination through a setter method (thus can be injected by Spring ...)

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Field Summary
 
Fields inherited from class org.figure8.join.core.messaging.JMSProducerBean
log
 
Fields inherited from class org.springframework.jms.core.support.JmsGatewaySupport
logger
 
Constructor Summary
SimpleJMSProducerBean()
           
 
Method Summary
 javax.jms.Destination getDestination()
          Return the destination acquired through setter method.
 void setDestination(javax.jms.Destination destination)
           
 
Methods inherited from class org.figure8.join.core.messaging.JMSProducerBean
sendObjectMessage, sendObjectMessage, sendTextMessage, sendTextMessage
 
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
 

Constructor Detail

SimpleJMSProducerBean

public SimpleJMSProducerBean()
Method Detail

setDestination

public void setDestination(javax.jms.Destination destination)
Parameters:
destination - JMS destination to use when sending messages

getDestination

public javax.jms.Destination getDestination()
Return the destination acquired through setter method.

Specified by:
getDestination in class JMSProducerBean
Returns:
The JMS destination to use when sending messages.


Copyright © 2005-2008 Join. All Rights Reserved.