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 » General Discussion » How to begin using XMS

Post new topic  Reply to topic
 How to begin using XMS « View previous topic :: View next topic » 
Author Message
Rol&
PostPosted: Thu Jan 04, 2007 7:44 am    Post subject: How to begin using XMS Reply with quote

Newbie

Joined: 04 Jan 2007
Posts: 1

Hello all

Please, can anybody help me to get on the rails?

I have to write an application that communicates using MQ-Series.
Because I'm using .Net, I decide to use XMS as API.

On one machine (server) I installed MQ Series V6 using default settings.
Using the installed API-test programm amqapi.exe, I can locally connect to a queue and put messages, that's fine.

On my development machine (client), I installed the .Net Client and no additional MQ-code.
Now I try to run the sample program (SampleProducerCS.exe), but it has so many options I cannot get a connection.

So my questions:
- do I need to configure something on the server so that a client can connect?
- what should I use on the client? RTT, WMQ or WPM
- how are the other settings according to the connection type, port, topic, queue name etc?

Thanks for any help,
Rol& (confused)
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 04, 2007 8:12 am    Post subject: Re: How to begin using XMS Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Rol& wrote:
On my development machine (client), I installed the .Net Client and no additional MQ-code.


You might want to install the MQ client as well

Rol& wrote:
- do I need to configure something on the server so that a client can connect?


You need to define a client connection.

Check out the Client manual (and possibly the .NET manual) here:


http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp

The Clients manual goes through the definition process for the connection.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 04, 2007 4:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Make sure the XMS package is installed (support pack).

You may read up on some of the generic JMS notions in the using java manual...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
saketr
PostPosted: Sat Feb 24, 2007 9:58 am    Post subject: Reply with quote

Apprentice

Joined: 08 Feb 2006
Posts: 41

Perhaps a screen scrape would help:

Code:
C:\Program Files\IBM\Message Service Client for .NET\tools\samples\bin>SampleProducerCS.exe

Enter '?' for help with any question.

Desired mode to run this sample application [simple]:
Enter connection type [wpm]: ?
 - The connection type for messaging service:
   WebSphere Platform Messaging (WPM)
   WebSphere MQ (WMQ)
   or WebSphere Business Integration Brokers using RTT transport (RTT).
 - Valid values are: wpm, wmq, or rtt.
 - Default value is: wpm.

Enter connection type [wpm]: wmq
Enter connection mode [client]:
Enter queue manager (optional):
Enter hostname [localhost]:
Enter destination URI [queue:///SYSTEM.DEFAULT.LOCAL.QUEUE]:
Your message (optional):
Connection Factory created.
Connection created.
Session created.
Destination created: queue:///SYSTEM.DEFAULT.LOCAL.QUEUE?persistence=1.
Producer created.

--------------- Message 1 sent ---------------

  Message class: XMS_MESSAGE_TYPE_TEXT
  Type:
  DeliveryMode:  NonPersistent
  Expiration:    0
  Priority:      4
  MessageID:     ID:414d5120514d5f7468696e6b70616420c15bd8452000c702
  Timestamp:     1172339836500
  CorrelationID:
  Destination:   queue:///SYSTEM.DEFAULT.LOCAL.QUEUE
  ReplyTo:
  Redelivered:   False
  JMSXUserID: Administrato
  JMSXAppID: les\bin\SampleProducerCS.exe
  JMSXDeliveryCount: 0
  JMS_IBM_PutApplType: 11
  JMS_IBM_PutDate: 24/02/2007
  JMS_IBM_PutTime: 17:57:16
  MyStringProperty: My Year Of Birth
  MyIntProperty: 2005
[This is message 1 in this sample run] But soft! What light through yonder window breaks?
Arise, fa ...
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 » General Discussion » How to begin using XMS
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.