|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Large file putting to a queue |
« View previous topic :: View next topic » |
Author |
Message
|
megani |
Posted: Fri Aug 01, 2003 10:00 am Post subject: Large file putting to a queue |
|
|
Apprentice
Joined: 19 Dec 2001 Posts: 27
|
Does anyone know of a DOS utility that I can use (like amqsputc) that will take a large file and put it to a queue as just one message.
When I do this with amqsputc each line of the file is a separate message.
Thank you |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 01, 2003 10:43 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The source code for amqputc is supplied with MQSeries. You could modify it to suit your own needs.
Or you could look at the top of this page, and see if something in the Repository will suit your needs. |
|
Back to top |
|
 |
bduncan |
Posted: Fri Aug 01, 2003 12:19 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Plus amqputc won't deal with binary files properly. I've written utilities to do this sort of thing in the past (transferring jpeg images via MQSeries) and it's not that tough... just read the bytes of the file into the message buffer and fire away... But instead of sending it all in one message, it might be useful to break it into multiple messages that are all part of a group. This way, the first (or last) message can contain information about the file, like the filename, permissions, size, etc... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
Leafar |
Posted: Wed Aug 13, 2003 8:40 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|