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 » General Discussion » Help needed in putting bigger XML message

Post new topic  Reply to topic
 Help needed in putting bigger XML message « View previous topic :: View next topic » 
Author Message
mira
PostPosted: Wed Jul 23, 2003 5:13 pm    Post subject: Help needed in putting bigger XML message Reply with quote

Newbie

Joined: 25 Feb 2002
Posts: 9

I am trying to put a message into a remote queue using the local remote queue definition.

The message is in the form of XML message which is very big.

When I tried to put this message from the command prompt using amqsput command, the message is splitted up and going to the remote queue as multiple messages.
Please help me in putting message as a whole into the queue.
I have tried amqsputw, but the same is not available in the bin directory.
I am using MQSeries 5.3.

Thanks in advance..
mira..
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Jul 23, 2003 6:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You need to modify MQSeries\tools\c\samples\amqsput0.c program to fit your requirement. The source that comes with MQSeries puts each line as 1 message on the queue, and it can only put first 100 bytes of data.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Thu Jul 24, 2003 8:02 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

you could always strip all of the cr/lf from your xml file and use amqsput
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Thu Jul 24, 2003 8:20 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Or use one of the programs from the Support Pacs. IH02 or IH03.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
mira
PostPosted: Fri Jul 25, 2003 10:26 am    Post subject: Reply with quote

Newbie

Joined: 25 Feb 2002
Posts: 9

Thanks a lot for your valuable replies..
I will try the solutions mentioned above..
In the mean time I am using MQJ explorer..and also trying with JMS java program.

Thanks
mira
Back to top
View user's profile Send private message
mira
PostPosted: Wed Aug 06, 2003 4:30 pm    Post subject: again facing the same problem.. Reply with quote

Newbie

Joined: 25 Feb 2002
Posts: 9

My JMS program is working fine for the local queues.
When I try to put XML message (using MQ jms program--client) into remote queue definition on MQ Server/MQ queue Manager, the messsage is being truncated ..
the environment is as follows..
the QMgr and send and Receiver queues are residing on A.
Also a Qmgr and Send and Receiver queues are residing on B.

A and B are connected with channels and are having remote queue definitions.

Now I want to put message into send queue(which is remote queue definition on A to receiver queue of B) which ultimately flows to B.

What is happening is when I put message into send queue of A, the XML(big) message is being truncated.

I am using JMS program to put messages..
Please help me in putting big XML messages from MQ client without being truncated..
thanks in advance..
mira
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 » General Discussion » Help needed in putting bigger XML message
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.