public abstract class AbstractJMSMessageProducer extends Object
| Constructor and Description |
|---|
AbstractJMSMessageProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
sendNonTransacted(javax.jms.Destination destination,
Serializable message)
Sends message to the destination in non-transactional manner.
|
protected void |
sendNonTransacted(javax.jms.Destination destination,
Serializable message,
String propertyName,
String propertValue)
Sends message to destination with given JMS message property name and value in non-transactional manner.
|
protected void |
sendTransacted(javax.jms.Destination destination,
Serializable message)
Sends message to the destination in transactional manner.
|
protected void |
sendTransacted(javax.jms.Destination destination,
Serializable message,
String propertyName,
String propertValue)
Sends message to destination with given JMS message property name and value in transactional manner.
|
protected void sendNonTransacted(javax.jms.Destination destination,
Serializable message)
destination - where to sendmessage - what to send
Since non-transacted session is used, the message is send immediately without requiring to commit enclosing transaction.protected void sendTransacted(javax.jms.Destination destination,
Serializable message)
destination - where to sendmessage - what to send
Since transacted session is used, the message won't be committed until whole enclosing transaction endsprotected void sendNonTransacted(javax.jms.Destination destination,
Serializable message,
String propertyName,
String propertValue)
destination - where to sendmessage - what to sendpropertyName - property of objpropertValue - value of obj
Since non-transacted session is used, the message is send immediately without requiring to commit enclosing transaction.protected void sendTransacted(javax.jms.Destination destination,
Serializable message,
String propertyName,
String propertValue)
destination - where to sendmessage - what to sendpropertyName - property of objpropertValue - value of obj
Since transacted session is used, the message won't be committed until whole enclosing transaction ends.Copyright © 2017 JBoss by Red Hat. All rights reserved.