|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Any adapter/tool available to read xml file |
« View previous topic :: View next topic » |
Author |
Message
|
nagaraju.chinni |
Posted: Thu Feb 21, 2008 4:16 am Post subject: Any adapter/tool available to read xml file |
|
|
Newbie
Joined: 13 Feb 2008 Posts: 6
|
Hi,
Is there any adapter/tool available that reads XML file and send it to Queue
any help appreciated |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 21, 2008 4:40 am Post subject: Re: Any adapter/tool available to read xml file |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nagaraju.chinni wrote: |
Is there any adapter/tool available that reads XML file and send it to Queue |
Is this connected to:
http://www.mqseries.net/phpBB2/viewtopic.php?t=41975&highlight=
You'll find the advice there holds. Something like RFHUTIL can view XML within a message, though I'd question it's value in a production situation.
If you want to manipulate XML and transmit to/from a queue, you need to write an application or consider using WMB. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nagaraju.chinni |
Posted: Thu Feb 21, 2008 4:45 am Post subject: thank you so much |
|
|
Newbie
Joined: 13 Feb 2008 Posts: 6
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 21, 2008 4:47 am Post subject: Re: thank you so much |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
nagaraju.chinni wrote: |
thank you so much |
Please try harder.
We're not your personal training resource.
We're not your personal Google search assistant. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 21, 2008 11:37 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
At the simplest level you read the XML file line by line and concatenate each record into a single message string.
Then you set up the MQMD and MQPUT the message.
Ensure your queue has a suitable max message length.
You could MQPUT one message per record in a message group but that is less efficient and only needed if the message size will be > 100 MB.
Sometimes you need to get your MQ admin to increase the max message size of system queues like the DLQ, XMIT queue and on various channels if you are exceeding the installation defaults (often just 4 MB).
----
In terms of tools, there are several file to message samples or free programs around, the XML aspect is really irrelevant.
However if you can code, you might as well code your own then you can make it do exactly what you want. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|