ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Placing a local file into remote queue

Post new topic  Reply to topic
 Placing a local file into remote queue « View previous topic :: View next topic » 
Author Message
klr
PostPosted: Tue Jun 14, 2011 1:51 am    Post subject: Placing a local file into remote queue Reply with quote

Apprentice

Joined: 01 Mar 2011
Posts: 31

Hi experts,

My scenario is as follows.
I have to pick a file from a folder in local desktop and place in a queue existing on a remote queue manager. I have no MQ related softwares installed in local desktop. Which is the best way to achieve this? Is JMS a good option or any executable Java code is available? Can you please putforth best options..
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jun 14, 2011 1:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Ideally don't use files at all. Have the application generate MQ messages directly.

You will need the (free) MQ client installed on the desktop, or at least the JMS/Java part of it.

Is this a manual process, or automatic etc? Scripted etc? GUI?

Look at IBM support pac MA01 (the q program) or maybe MA0J.

What sort of users are they (IT, end-users etc) - is it just for you?

By the way. A "remote" queue manager? I think you mean a queue manager not on the desktop. But the queues will be local queues on that QM (most likely).
Back to top
View user's profile Send private message
klr
PostPosted: Tue Jun 14, 2011 2:09 am    Post subject: Reply with quote

Apprentice

Joined: 01 Mar 2011
Posts: 31

Yes u r right I meant a remote queue manager to be as u said.

They are the end users and they would have the content in a flat file and place in a folder. And we have to pick this file and convert to idoc in CMH and process. They are very particular that they will use files. We should check for any new files every 5 seconds in taht folder and then process them.

What does this mean "Have the application generate MQ messages directly" Can u pls tell me more in detail.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 14, 2011 2:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What is generating the content in the flat file?

Ideally this should put the content into an MQ message instead.

Or at least have them put the file into an email message or post it to a website.

If they do insist that you have to put this into a file, then you should use MQFTE or Sterling Connect Direct or etc. to read these and put them into an MQ Message.

You should also have them write these files to a shared directory on a server, rather than to their local desktops.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jun 14, 2011 2:24 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I mean don't use files at all, period.

Change whatever writes the records to a file to put messages to a queue instead.

If you are using stone-age programs like notepad - consider writing your own GUI which will put the data entered into MQ directly.

File watching is a crude way to use MQ. However I would suggest you look at Capitalwares MQ file mover (which is free), although it's designed to send files to files over MQ rather than anything else. (It's open source so may still be useful).

Otherwise you will probably need to code your own Java program to file watch and then put to MQ, unless you have WMB or WMQ/FTE.

Where does the conversion to IDOC take place?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Placing a local file into remote queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.