Author |
Message
|
manojsu |
Posted: Thu Sep 14, 2006 6:56 am Post subject: Putting multiple messages in a Queue |
|
|
Centurion
Joined: 19 Jul 2006 Posts: 147 Location: Bangalore
|
Does anyone suggest/have a program/tool to put multiple messages into a queue.
Eg., Ihave n files in a directory, and ishould be able topick these mesages and put into into a queue/Qmgr of my choice. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 14, 2006 7:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Files are not messages.
No program can put more than one message simultaneously. Every program can only put one message at a time.
I believe the "file transfer" tool that comes with MQ v6 is able to process a directory of files. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Thu Sep 14, 2006 7:27 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
For what it is worth, you can alos look at rfhutil if you haven't already done so. It is a support pack called IH03 |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 14, 2006 2:52 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Or write your own little java or jms, c, .net, cobol, perl etc... program.
Give it a directory, let it read each file in it and create a message from it and put it to a queue.
It will be a good exercise for you...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 14, 2006 3:22 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
fjb_saper wrote: |
It will be a good exercise for you... |
especially three weeks later, when someone asks for proof that a particular file was successfully transmitted three weeks ago. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 14, 2006 3:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
fjb_saper wrote: |
It will be a good exercise for you... |
especially three weeks later, when someone asks for proof that a particular file was successfully transmitted three weeks ago. |
He did not say it needed to be done in production. He did not say he needed to have an audit trail...
If he needs industrial strength he should look at PM4DATA  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|