Author |
Message
|
rajraj |
Posted: Thu Mar 30, 2006 6:30 am Post subject: larger message |
|
|
Novice
Joined: 28 Mar 2006 Posts: 11
|
Hi All
i had a message of 500MB length, since queue cannot pick message , above 100MB , what i have to do
1. i know that we can do segmentation,
2. is there any alternative process , without segmnetation.
plz come out with ur ideas,
Thanks in advance. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 30, 2006 6:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ provides three mechanisms for working with messages larger than 100mbs.
- Segmentation
- Grouping
- Reference Messages
If you are trying to use MQ for file transfer, you are far far better off buying a solution than writing one. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 30, 2006 6:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also, as far as I know, segmentation can not actually handle messages larger than 100Mbs. At least if the queue manager is going to handle the segmentation.
So it's really only two mechanisms. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rajraj |
Posted: Thu Mar 30, 2006 9:50 am Post subject: larger message |
|
|
Novice
Joined: 28 Mar 2006 Posts: 11
|
Hi Guys,
Thanks for ur ideas,
can u plz help me where cani get a detail description on
grouping and Reference Messages |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 30, 2006 10:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The documentation.
Good luck. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Mar 30, 2006 11:03 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
jefflowrey wrote: |
Also, as far as I know, segmentation can not actually handle messages larger than 100Mbs. At least if the queue manager is going to handle the segmentation.
So it's really only two mechanisms. |
humm...
Quote: |
BufferLength (MQLONG) - input
The length of the message in Buffer. Zero is valid, and indicates that the message contains no application data. The upper limit for BufferLength depends on various factors:
If the destination is a local queue or resolves to a local queue, the upper limit depends on whether:
The local queue manager supports segmentation.
The sending application specifies the flag that allows the queue manager to segment the message. This flag is MQMF_SEGMENTATION_ALLOWED, and can be specified either in a version-2 MQMD, or in an MQMDE used with a version-1 MQMD.
If both of these conditions are satisfied, BufferLength cannot exceed 999 999 999 minus the value of the Offset field in MQMD. The longest logical message that can be put is therefore 999 999 999 bytes (when Offset is zero). However, resource constraints imposed by the operating system or environment in which the application is running might result in a lower limit. |
_________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 30, 2006 11:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'd thought that segmentation required you to be able to reassemble all the messages into a single message - and thus 100mb limited in size? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Mar 30, 2006 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
jefflowrey wrote: |
I'd thought that segmentation required you to be able to reassemble all the messages into a single message
|
I assume you mean "the queue manager reassembles the message into a single message"
Quote: |
- and thus 100mb limited in size? |
nope...in that case, the limit is 999,999,999 bytes (I just did it for fun with a 500,000,000 byte message using a signle MQPUT/GET). _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 30, 2006 12:00 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Huh. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PGoodhart |
Posted: Fri Mar 31, 2006 6:24 am Post subject: |
|
|
Master
Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA
|
I've moved 512 MB messages for years (v5.3) with segmentation. _________________ Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin |
|
Back to top |
|
 |
jpeela |
Posted: Fri Apr 07, 2006 12:34 pm Post subject: |
|
|
 Centurion
Joined: 23 Jan 2006 Posts: 139
|
rajraj,
u can even use third party tools like,rfh utility package,where you can put large messages by selecting segmentation option,and as well as read the message from the queue which would group that segments back. _________________ Jogi |
|
Back to top |
|
 |
|