Author |
Message
|
DarXide |
Posted: Tue Mar 20, 2012 12:36 am Post subject: file to queue product |
|
|
Apprentice
Joined: 02 Dec 2007 Posts: 43 Location: israel
|
im looking for a third party product that will listen on a folder and upload every new file to ibm websphere queue server . it have to work as mq client .
is anyone familiar with this kind of product ? please do not suggest MQ FTE .
thanks ! |
|
Back to top |
|
 |
Esa |
Posted: Tue Mar 20, 2012 12:54 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
MQ File Mover. It's a bit special (with longer file names for example), but does not cost much.
Here goes my Don't Post Anything day again... |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 20, 2012 2:12 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
MQFM is actually free (open source) - but it's more about moving files over MQ than file to message protocol conversion.
WMB is the obviously commerical option for protocol conversion. |
|
Back to top |
|
 |
Esa |
Posted: Tue Mar 20, 2012 3:10 am Post subject: Re: file to queue product |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
DarXide wrote: |
it have to work as mq client |
That rules MB out. The OP is looking for an adapter. I think there are several commercial alternatives.
I agree that MQFM works best as a mover - as its name says. I have, however, used it with MB as an adapter. It was a bit tricky, because if the file name is too long to fit in a certain MQMD field (ApplIdentityData, I think it was), MQFM will construct an XML message and put it between the header and the payload. But that was quite easy to handle in MB. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 20, 2012 4:41 am Post subject: Re: file to queue product |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Esa wrote: |
I think there are several commercial alternatives. |
I think the OP would be interested in their names. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 20, 2012 5:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you send a file to a single message, you will have size constraints, unless you can handle segmentation, grouping (and/or the changing of your max message size on channels, DLQ, xmit queues etc).
It's not hard to code MQI calls, so if you can code a program that can performs the file part (and there are probably examples around), adding the MQI calls is not that difficult. Why pay for such a simple function? Use Java, Perl, Python, C - etc.
Or using (free) support pac MA01 to handle the file to MQ upload would also work - and then you only have to code a wraparound shell script to look for new files and invoke the Q program (MA01) as a line command (it supports client mode). |
|
Back to top |
|
 |
exerk |
Posted: Tue Mar 20, 2012 6:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Or you could write a wrapper to go around the sample File Transfer Application which has shipped since V6. _________________ 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 |
|
 |
RogerLacroix |
Posted: Wed Apr 04, 2012 8:13 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
MQ File Mover (MQFM) can be used as a one-sided file-to-message tool. MQFM will only attach an XML header to the message data if any of the "Remote values are too long".
Remote values:
- Remote Job is longer than 24 characters
- Remote Directory is longer than 32 characters
- Remote Filename is longer than 32 characters
If you keep those 3 Remote values less than what is noted above then MQFM will "put" the file exactly as a message - no extra data in the message payload.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|