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 » Java program to place contents of file as message in queue

Post new topic  Reply to topic
 Java program to place contents of file as message in queue « View previous topic :: View next topic » 
Author Message
klr
PostPosted: Sun Mar 20, 2011 10:42 pm    Post subject: Java program to place contents of file as message in queue Reply with quote

Apprentice

Joined: 01 Mar 2011
Posts: 31

Hi,

I found a Java code on net in which on giving the queue manager name and queue name the contents of input file are converted to MQ message and placed on that queue. My doubt here is that when this java code is run on a remote machine, if we give the queue manager name as the queue manger name of Corporate Message Hub available on another remote machine will this code execute?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Sun Mar 20, 2011 11:25 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

how can we tell from the information you gave us? you did not show the program or the source you took it from. wait .... i'll look into my crystal ball..........

well, is this code designed to work as a client or does it just use local bindings? look at it.

there are other supportpacs and tools out there that do file to q work, even as client. search here or check the mq supportpacs ....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Mar 20, 2011 11:53 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Check out the File Mover open source from Capitalware. This can work in client mode.

Any client mode program will need to locate the QM host, port and know the channel name, this may be supplied in a CCDT.
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 » Java program to place contents of file as message in 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.