Skip to main content
Version: 7.2402.x.x RR

JmsDataSink

The JmsDataSink is used to send JMS MapMessages to some destination. The data fields are included in the message corresponding to their type. Message properties can be configured using a map parameter.

Configuration

NameType, usage constraints, defaultsDescription
servicerequired: paraVal
default: none
type: JmsConnectionPool
The JmsConnectionPool used to obtain a session.
destinationoptional: paraVal
default: none
type: string
JNDI name of the JMS destination.
propertiesoptional: paraMap
default: none
type: map
A map that defines the message's property headers.
timeToLiveoptional: paraVal
default: 30000
type: int
The time to live of a message in milliseconds.

Example

<dataSink type="JmsDataSink">
<dp:paraVal name="service" value="${inst.jmsService}" />
<dp:paraVal name="destination" value="dynamicQueues/Queue" />
<dp:paraMap name="properties">
<value name="type" value="hello" />
<value name="id" value="#{1234}" />
</dp:paraMap>
</dataSink>