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 » WebSphere Message Broker (ACE) Support » Huge messages in WMB and WMQ.

Post new topic  Reply to topic
 Huge messages in WMB and WMQ. « View previous topic :: View next topic » 
Author Message
ein
PostPosted: Thu Jul 09, 2009 10:18 pm    Post subject: Huge messages in WMB and WMQ. Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Hello All,

I have a requirement to receive files from my partners.
Some times we may receive more than 4MB files. in our Queus.
The Queue default size is 4MB.

I heard that , we can do segmentation in Queue Manager level.

Can any one suggest me how we can do segmentation in QM level.
I am googling for this . I am not yet find the solution for segmentaion at QM level.
Can any one suggest me how we can do this.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jul 09, 2009 10:38 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Have you considered reading the IBM manuals?
Back to top
View user's profile Send private message
ein
PostPosted: Thu Jul 09, 2009 10:56 pm    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Yes,

I have gone through some IBM MQ manuals.
I did n't find any thing like segmentation. If yoy have path Can you please send it to me.
Back to top
View user's profile Send private message
gregop
PostPosted: Thu Jul 09, 2009 11:04 pm    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Why not extend the maximum message length for the queue(s) ?
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 10, 2009 12:12 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

How can you not find a major WMQ feature?

Look at the Websphere MQ programming guide and the Websphere MQ programming reference.

Look at the Java manuals if this is the language (which you helpfully don't state).

IBM don't leave this stuff undocumented, this is not open source freeware.

You can go to 100 MB on one message but you need to extend max msg size of channels, DLQ, xmit queue etc.

Can also cause a lot of memory buffer usage etc.

Otherwise use segmentation or grouped messages.
Back to top
View user's profile Send private message
ein
PostPosted: Fri Jul 10, 2009 12:24 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Hello Zpat,

Thank you very much for valueable suggestions.

Can't we do that with out MQ programming. I mean some configuration changes at Queue Manager level.

under Queue manager we have lot of queues. We can increase the queue mxmlength. that's not good not solution for this scenario.

If it's not configurable at QM level , Then I will write a java program to split the messages.

Please suggest.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Fri Jul 10, 2009 12:42 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Quote:

I have gone through some IBM MQ manuals.


As part of your searches, what happened when you went to the infocenter (link at the top of the page) and searched for "segmentation"?

Did you even try this? If not then I suspect you have not really gone through the documentation as its in there clear for all to see.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 10, 2009 12:46 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

There a QM setting for max message size up to 100 MB.

This value also has to be set on all the queues used (inc Xmit queue, DLQ) and all channels used for the message from point of origin to the final destination.

Understand how segmentation or grouping works for both MQPUT and MQGET before using it. Especially if one end of the link is not under your programming control.

RTM to start with, there is no simple switch to solve the problem instantly.
Back to top
View user's profile Send private message
ein
PostPosted: Fri Jul 10, 2009 2:17 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Thanks Zpat,
I will propose this solution to my team, If they agreed then i ll do that Otherwise I ll will write java code for segmentation.

Thank you very much Zpat for your help.

FYI.
WMBDEV1....

I am looking for segmentation setting on QM level. IF you know then answer, with out searching , we can't come to you.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 10, 2009 2:39 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

ein wrote:
Hello Zpat,
Can't we do that with out MQ programming. I mean some configuration changes at Queue Manager level.

under Queue manager we have lot of queues. We can increase the queue mxmlength. that's not good not solution for this scenario.

If it's not configurable at QM level , Then I will write a java program to split the messages.

Please suggest.


If you have a script that creates all your queues you can change that and then apply the changes dynamically to the QM. This is a fairly basic WMQ Sys Admin task.
If you don't have one, there is a support pack that will create a script and a global change to the file and you after applying it, you are done.
Going down the segmentation route is IMHO, far more trouble. Indeed, I'd go as far as saying that it is more trouble than it is worth.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 10, 2009 2:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ein wrote:
I will propose this solution to my team, If they agreed then i ll do that Otherwise I ll will write java code for segmentation.


Using Java code is IMHO a sledgehammer to crack a nut; a simple script to change max message length is much easier, less likely to go wrong and is the configuration change you originally asked for.

ein wrote:
I am looking for segmentation setting on QM level.


Segmentation is always something to be viewed with distaste, and is only appropriate where your design produces ludicrously large messages.

If you do have a lot to transmit, you're better (again IMHO) to have the application people bite the bullet and use grouping. Easier and more flexible.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere Message Broker (ACE) Support » Huge messages in WMB and WMQ.
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.