Protocol |
JMS |
|
|
Description |
Connect to a JMS server using JMSConfig and send events in MessageFormat to a queue or topic. |
|
|
Comments |
If JMSConfig
is missing, blank or invalid, source is disabled. Supported JMS message types (MessageFormat) are:
|
This is example receiver configuration for the use of OpenJms server.
For this to work following libraries from OpenJms need to be added into
ECS classpath(EV_HOME/bin/service.cfg file):
commons-logging-1.0.3.jar
exolabcore-0.3.7.jar
openjms-client-0.7.6.1.jar
<destination objectId="JMS-Destination" type="JMSSender"> <parameter type="JMSConfig"> <jndiInitialContextFactory> org.exolab.jms.jndi.InitialContextFactory </jndiInitialContextFactory> <jndiProviderUrl>rmi://localhost:1099/</jndiProviderUrl> <jndiUsername/> <jndiPassword/> <jmsConnectionFactoryName> JmsQueueConnectionFactory </jmsConnectionFactoryName> <jmsDestinationType>queue</jmsDestinationType> <jmsDestinationName>queue1</jmsDestinationName> </parameter> <parameter type="MessageFormat">mapped|text</parameter> </destination>