ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Any adapter/tool available to read xml file

Post new topic  Reply to topic
 Any adapter/tool available to read xml file « View previous topic :: View next topic » 
Author Message
nagaraju.chinni
PostPosted: Thu Feb 21, 2008 4:16 am    Post subject: Any adapter/tool available to read xml file Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 21, 2008 4:40 am    Post subject: Re: Any adapter/tool available to read xml file Reply with quote

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
View user's profile Send private message
nagaraju.chinni
PostPosted: Thu Feb 21, 2008 4:45 am    Post subject: thank you so much Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 6

thank you so much
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 4:47 am    Post subject: Re: thank you so much Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Feb 21, 2008 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Any adapter/tool available to read xml file
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.