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 Telemetry / Low Latency Messaging / Everyplace » Please help me in PDAs to send messages to MQE server

Post new topic  Reply to topic
 Please help me in PDAs to send messages to MQE server « View previous topic :: View next topic » 
Author Message
mallayagari
PostPosted: Tue Feb 24, 2004 1:23 pm    Post subject: Please help me in PDAs to send messages to MQE server Reply with quote

Newbie

Joined: 18 Feb 2004
Posts: 3

Do i need to create a connection for each pda that try to send message to MQE server?

Is there any way i can connect to MQE server by java program running on PDAs to send messages to MQE server.

I came from WebSphere MQ background , in that using client jar files it can connect to server to create a message .

thanks
srinivas
Back to top
View user's profile Send private message
YATAWAL
PostPosted: Thu Feb 26, 2004 3:40 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2004
Posts: 25

A connection from PDA to WMQE Server is sufficient to send and receive messages from the WMQE Server.

The PDA activates a local queue manager and uses that to send a message to the WMQE Server.

See ..\MQe\Java\examples\application\Example1.java

myQM.putMessage(qMgrName, queueName, msgObj1, null, 0);

myQM is the handle you receive after activating the PDA queue manager.
The qMgrName would be the WMQE Server Name
The queueName would be the local queue on the WMQE Server.

If there is no remote queue defined (pointing at the WMQE local queue) a process called 'queue discovery' occurs where MQe defines a Remote Sync Queue automatically.

Try this on your PDA:
java examples.administration.commandline.SendTestMessage
<queue_name> <hosting_queue_manager> <ini_file>
i.e., hosting_queue_manager = WMQE Server
queue_name = local queue at the server
ini_file is the ini file in the PDA pointing at the PDA queue manager
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 Telemetry / Low Latency Messaging / Everyplace » Please help me in PDAs to send messages to MQE server
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.