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 » WebSphere Process Server (WID/WPS/WAS+) » Sample code for MQ Binding

Post new topic  Reply to topic
 Sample code for MQ Binding « View previous topic :: View next topic » 
Author Message
mohit naharia
PostPosted: Mon Jun 28, 2010 1:58 am    Post subject: Sample code for MQ Binding Reply with quote

Newbie

Joined: 27 Jun 2010
Posts: 2

Hi all

I am a newbie in WPS and WID. Could anyone plz provide me a sample of using MQ Binding in WIDv7.
Any URL could also be helpful.

Thanks in advance
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 28, 2010 6:31 pm    Post subject: Reply with quote

Grand High Poobah

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

Read up, there is no code for this. It is being done in the JNDI level.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mohit naharia
PostPosted: Mon Jun 28, 2010 8:28 pm    Post subject: Reply with quote

Newbie

Joined: 27 Jun 2010
Posts: 2

Hi fjb_saper

I am using the following sample in WID7 with WPS7

http://www.ibm.com/developerworks/websphere/library/techarticles/0802_fernandes/0802_fernandes.html

I am able to write to the queue but unable to read from the queue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 29, 2010 7:37 am    Post subject: Reply with quote

Grand High Poobah

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

mohit naharia wrote:
I am able to write to the queue but unable to read from the queue.


Why? What happens? Error codes? Error messages? Smoke from the back of your computer?

Help us to help you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 29, 2010 1:27 pm    Post subject: Reply with quote

Grand High Poobah

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

mohit naharia wrote:
Hi fjb_saper

I am using the following sample in WID7 with WPS7

http://www.ibm.com/developerworks/websphere/library/techarticles/0802_fernandes/0802_fernandes.html

I am able to write to the queue but unable to read from the queue.

Well for reading from the queue (I suppose your are using JMS), did you explicitly "start" the connection before reading from the queue?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Sample code for MQ Binding
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.