| Author | 
		  Message
		 | 
		
		  | sebastia | 
		  
		    
			  
				 Posted: Sat Apr 04, 2009 11:59 am    Post subject: how to send a message from WAS to MQ | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 07 Oct 2004 Posts: 1003
  
  | 
		  
		    
			  
				I have WAS 6 on Windows configured.
 
 
 Have defined
 
 
 Connection Factoty name = MQCF1
 
   JNDI name = MQCF1jndi
 
   Transport type = Client
 
   Channel name = MINE.SVRCONN
 
   Port = 1491
 
 Queue Destination name = QD1
 
 JNDI name = QD1jndi
 
 
 Now I want to send a message from WAS to Queue Manager.
 
 
 Is there any sample I can use to test this environment ?
 
 I mean : something like AMQSPUT but in JMS ....
 
 
 Tip : I have almost no clue of WAS, so all details are welcome. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sebastia | 
		  
		    
			  
				 Posted: Sat Apr 04, 2009 1:01 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 07 Oct 2004 Posts: 1003
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sat Apr 04, 2009 5:11 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
 
 
Excellent for the setup. For the rest, it is plain JMS. If you need a JMS tutorial look at the sun one. It is quite good.    _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 1:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sebastia | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 2:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 07 Oct 2004 Posts: 1003
  
  | 
		  
		    
			  
				Thanks, mr WMBDEV1
 
 I want WAS to Send messages first, but receiving part shall also work.
 
 I will read your article, of course.
 
 
 By the way (xcuse my poor english) - what do you mean by 
 
 "it looks like a good starter for 10" .... (but it is 4 years old)
 
 
 A good starter for 10 is a "beginners" starter maybe ?
 
 
 Sebastian. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 3:35 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
			  
				
   
	| sebastia wrote: | 
   
  
	
 
 "it looks like a good starter for 10"
 
 | 
   
 
 
 
is just a good place to start.
 
 
   
	| Quote: | 
   
  
	|  (but it is 4 years old) | 
   
 
 
 
I as just pointing out the article was 4 years old (as is the one I pointed you at).
 
 
The article I sent you has code to receive and send messages (the message producer). 
 
 
Hope it helps | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sebastia | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 3:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 07 Oct 2004 Posts: 1003
  
  | 
		  
		    
			  
				Thanks, Audit
 
 
 I do understand the "4 years old " part ... jejeje
 
 
 But "a good starter for 10" is brand new to me, a spaniard. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 2:41 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Also check out the WAS infocenter and the part about MDBs.
 
The activation bean could be the part that is missing in the 4 year old tutorial. It should also contain all that is needed for configuration of resources.
 
 
Have fun and comeback when you get stuck.   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sebastia | 
		  
		    
			  
				 Posted: Sun Apr 05, 2009 11:45 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 07 Oct 2004 Posts: 1003
  
  | 
		  
		    
			  
				I am implementig the "wolf's" article and it looks fine
 
 for a beginner to WAS as I am.
 
 
 Adn if MQ Infocenter is BIG,
 
 the WAS Infocenter is .... HUGE
 
 and if you (me) have so basic concepts missing,
 
 a place where is very easy to get lost
 
 between the flavours of this item coding or impementation.
 
 
 I shall choose the KISS principle : keep it simple.
 
 
 Thanks to all of you. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |