| Constructor and Description |
|---|
JmsSender(Serializable message) |
| Modifier and Type | Method and Description |
|---|---|
JmsClient.JmsSender |
inTransaction()
Send the message in transaction (i.e.
|
void |
to(javax.jms.Destination destination)
Sends the message to the destination.
|
JmsClient.JmsSender |
withDelayedDelivery(Long delayMs)
The message sent with given ID will be scheduled to be delivered after specified number of miliseconds.
|
JmsClient.JmsSender |
withDuplicateDetectionId(String duplicateDetectionId)
The message sent with given ID will be delivered exactly once.
|
JmsClient.JmsSender |
withProperty(String name,
Long value)
Sets the property that can be later used to query message by selector.
|
JmsClient.JmsSender |
withProperty(String name,
String value)
Sets the property that can be later used to query message by selector.
|
public JmsSender(Serializable message)
public JmsClient.JmsSender inTransaction()
public JmsClient.JmsSender withProperty(String name, String value)
name - of propertyvalue - of propertypublic JmsClient.JmsSender withProperty(String name, Long value)
name - of propertyvalue - of propertypublic JmsClient.JmsSender withDuplicateDetectionId(String duplicateDetectionId)
duplicateDetectionId - protection of ID for duplicate msgspublic JmsClient.JmsSender withDelayedDelivery(Long delayMs)
delayMs - the delay in millisecondspublic void to(javax.jms.Destination destination)
destination - where to sendCopyright © 2018 JBoss by Red Hat. All rights reserved.