I am new to javaScript or JMS queues, all I needs is a script which will put the sample xml on to the JMS queue with below property details.
We have different queues for different XML msgs. Need utility to publish test data into the desired JMS queue (which can be configured in the JMS property file)
I have below JMS properties:
jms.receiveTimeout=1000
username=ABC
password=
jndi.url=abcd01.ute.test.com:48120
jndi.initialContextFactory=com.test.mi.decorator.jms.testTibcoInitialContext
jms.producerName=TEST.TESTMANIFEST.ABC.L1
directConnection=true
Sample XMl
<?xml version="1.0" encoding="UTF-8"?>
<TESTDataEvent>
<TESTRecord>
<TESTclientDetail>
<TESTaccountNumber>450586162</TESTaccountNumber>
<TESTNumber>6504535</TESTNumber>
<TESTmeterNumber>0251901</TESTmeterNumber>
<TESTsoftwareId>XYZ</TESTsoftwareId>
<TESTsoftwareRelease>3105</TESTsoftwareRelease>
<TESTclientProductId>PQR</TESTclientProductId>
</TESTclientDetail>
</TESTRecord>
</TESTDataEvent>