daveupdike
Programmer
OK, we're trying to ferret out a problem and the previous post was not exactly the problem. What we have traced follows:
We use JMS as the interface to MQSeries. When we place a XML file on our queue a JMS Header gets included like as follows:
RFH ................MQSTR ........... <mcd><Msd>jms_text</Msd></mcd> ...<<jms><Dst>queue://TFOO2/TSG.FOO.FOO2.INPUTQ</Dst></jms> <?xml version="1.0" ?>
You can see the beginning of the XML at the end of above. It continues...
When we read this back in using JMS we process it and everything is OK. But when our users, who don't want to use JMS, place XML on our queue it gets placed OK, but doing a JMS QueueReceiver.receive() we get a null returned.
Our users file just starts off
<?xml version="1.0" ?> and continues. No JMS headers.
Has anyone ran into this before. I haven't read anything that says if you use JMS to receive information off the queue then you MUST use JMS to place it on the queue.
Any verification of the above?
Dave Updike
We use JMS as the interface to MQSeries. When we place a XML file on our queue a JMS Header gets included like as follows:
RFH ................MQSTR ........... <mcd><Msd>jms_text</Msd></mcd> ...<<jms><Dst>queue://TFOO2/TSG.FOO.FOO2.INPUTQ</Dst></jms> <?xml version="1.0" ?>
You can see the beginning of the XML at the end of above. It continues...
When we read this back in using JMS we process it and everything is OK. But when our users, who don't want to use JMS, place XML on our queue it gets placed OK, but doing a JMS QueueReceiver.receive() we get a null returned.
Our users file just starts off
<?xml version="1.0" ?> and continues. No JMS headers.
Has anyone ran into this before. I haven't read anything that says if you use JMS to receive information off the queue then you MUST use JMS to place it on the queue.
Any verification of the above?
Dave Updike