Author |
Message
|
Gaya3 |
Posted: Wed Sep 05, 2012 11:07 pm Post subject: Pushing Huge Messages to the Queue |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Do we have any good tool to push huge messages to the queue
Message Count: 400,000
Each of Size : 1000
Total Size : 400,000 * 1000
I have stored all these to a file, i would like to restore it back.
I used Qload for saving the file, while restoring using the qload, qload is crashing.
I tried to create an API for the same, so i am in the way to handle this much of size in java (right now core dumping)
Please let me know if you know any good tool that i can use for this.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 05, 2012 11:43 pm Post subject: Re: Pushing Huge Messages to the Queue |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gaya3 wrote: |
...Each of Size : 1000... |
1000 Bytes, 1000 KiloBytes, 1000 MegaBytes? Just what are your 1000 'units of measure'? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Sep 06, 2012 1:15 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
This is the actual size of the file : 1073741312 Bytes
I meant it in Bytes. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
exerk |
Posted: Thu Sep 06, 2012 1:18 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
So Qload is crashing with what symptoms? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Sep 06, 2012 1:46 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Error is something misleading
Hex String is not matching on line# _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
exerk |
Posted: Thu Sep 06, 2012 1:49 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Have you in any way altered the file? Does it state exactly which line? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Thu Sep 06, 2012 2:19 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Qload uses it's own file format to save/load messages.
You can't just stick a message in a text file and upload it (at least that is my understanding).
Try using MA01 (the q command), or rfhutilc (IH03) |
|
Back to top |
|
 |
exerk |
Posted: Thu Sep 06, 2012 2:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
Qload uses it's own file format to save/load messages.
You can't just stick a message in a text file and upload it (at least that is my understanding)... |
Gaya3 wrote: |
...I used Qload for saving the file, while restoring using the qload, qload is crashing... |
_________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ramires |
Posted: Thu Sep 06, 2012 2:59 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
You can also use MO71 to load/unload messages. MO71 can load a file created with qload.
Is the file is corrupted? Can you load it to a different qmgr/queue? _________________ Obrigado / Thanks you |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Sep 07, 2012 3:23 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
seriously not happy with the support pac, as they store message in a different format,
so started working on API + nio programming.
 _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 07, 2012 3:41 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Gaya3 wrote: |
seriously not happy with the support pac, as they store message in a different format,
so started working on API + nio programming. |
A wheel, no matter how many times it's reinvented, is still a wheel... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Sep 07, 2012 12:04 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
exerk wrote: |
Gaya3 wrote: |
seriously not happy with the support pac, as they store message in a different format,
so started working on API + nio programming. |
A wheel, no matter how many times it's reinvented, is still a wheel... |
I totally agree with you no comments on this. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|