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
Name | Type, usage constraints, defaults | Description |
---|---|---|
service | required: paraVal default: none type: JmsConnectionPool | The JmsConnectionPool used to obtain a session. |
destination | optional: paraVal default: none type: string | JNDI name of the JMS destination. |
properties | optional: paraMap default: none type: map | A map that defines the message's property headers. |
timeToLive | optional: 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>