|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jms.core.support.JmsGatewaySupport
org.figure8.join.core.messaging.JMSProducerBean
public abstract class JMSProducerBean
This is a base class for implementations needing to send JMS messages over a JMS destination. How to acquire detinations mechanism is left abstract. This base class also extends Spring container JMS support class in order to use Spring's features such as JmsTemplates ...
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
Commons logger. |
| Fields inherited from class org.springframework.jms.core.support.JmsGatewaySupport |
|---|
logger |
| Constructor Summary | |
|---|---|
JMSProducerBean()
Default constructor. |
|
| Method Summary | |
|---|---|
abstract javax.jms.Destination |
getDestination()
Abstract method that should be implemented by subclasses. |
void |
sendObjectMessage(java.io.Serializable obj)
Send the given Serializable object as an object message onto destination. |
void |
sendObjectMessage(java.io.Serializable obj,
java.util.Properties properties)
Send the given Serializable object as an object message. |
void |
sendTextMessage(java.lang.String text)
Send the given text as a text message onto destination. |
void |
sendTextMessage(java.lang.String text,
java.util.Properties properties)
Send the given text as a text message onto destination. |
| 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 |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public JMSProducerBean()
| Method Detail |
|---|
public void sendTextMessage(java.lang.String text)
text - Text to send as a JMS message
public void sendTextMessage(java.lang.String text,
java.util.Properties properties)
text - Text to send as a JMS Messageproperties - String properties to add to JMS Messagepublic void sendObjectMessage(java.io.Serializable obj)
Serializable object as an object message onto destination.
obj - The serializable object to send as a JMS Message
public void sendObjectMessage(java.io.Serializable obj,
java.util.Properties properties)
Serializable object as an object message.
Add given properties as String properties on the sent message.
obj - The serializable object to send as a JMS Message.properties - String properties to add to JMS Messagepublic abstract javax.jms.Destination getDestination()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||