| Author | Message | 
  		
		  |  Topic: MQJMS1034E | 
  		
		  | Rohit_ 
 Replies: 3
 Views: 5382
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Nov 26, 2008 12:13 pm   Subject: MQJMS1034E | 
  		
		  | I just get these two lines and nuthing else in my logs. 
 If I comment the code,where i am setting the MessageListener then I don't get this exception
 
 consumer.setMessageListener(new TradeMsgListe ...
 | 
  		
		  |  Topic: MQJMS1034E | 
  		
		  | Rohit_ 
 Replies: 3
 Views: 5382
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Nov 26, 2008 11:14 am   Subject: MQJMS1034E | 
  		
		  | Hi Forum, 
 I am getting below exceptions on my logs :
 
 MQJMS1034E MessageListener threw: java.lang.NullPointerException
 MQJMS1022E failed to redirect message
 
 Because of this,No messages are co ...
 | 
  		
		  |  Topic: Message Header | 
  		
		  | Rohit_ 
 Replies: 2
 Views: 3164
 
 |  Forum: IBM MQ Java / JMS   Posted: Tue Nov 11, 2008 5:04 pm   Subject: Message Header | 
  		
		  | My app is running outside of WebSphere Application Server,while the app getting my messages is MDB running in WS app server. 
 So in instance of my destination, i did this :
 
 producer.setTargetClie ...
 | 
  		
		  |  Topic: Message Header | 
  		
		  | Rohit_ 
 Replies: 2
 Views: 3164
 
 |  Forum: IBM MQ Java / JMS   Posted: Tue Nov 11, 2008 3:13 pm   Subject: Message Header | 
  		
		  | Hi Forum, 
 I am confused with Header part of message.
 
 I am publishing messages to queue like this :
 
 
 
 private Session session;
 
 private MessageProducer producer;
 ....
 
 TextMessage ack ...
 | 
  		
		  |  Topic: payload from BytesMessage | 
  		
		  | Rohit_ 
 Replies: 16
 Views: 18421
 
 |  Forum: IBM MQ Java / JMS   Posted: Mon Nov 10, 2008 3:23 pm   Subject: payload from BytesMessage | 
  		
		  | If the message had MQMD.Format = MQHRF2 and the format within the RFHeader is MQSTR, then the message will be cast to a JMS TextMessage. Looks like your jms application is receiving a message with the ... | 
  		
		  |  Topic: payload from BytesMessage | 
  		
		  | Rohit_ 
 Replies: 16
 Views: 18421
 
 |  Forum: IBM MQ Java / JMS   Posted: Mon Nov 10, 2008 6:15 am   Subject: payload from BytesMessage | 
  		
		  | Does the "header" in the BytesMessage start with "MQHRF2"? 
 In header I get below properties :
 ^@RFH ^@^@^@^B^@^@^@?^@^@^A^Q^@^@^D?MQSTR   ^@^@^@^@^@^@^D?^@^@^@ <mcd>< ...
 | 
  		
		  |  Topic: payload from BytesMessage | 
  		
		  | Rohit_ 
 Replies: 16
 Views: 18421
 
 |  Forum: IBM MQ Java / JMS   Posted: Fri Nov 07, 2008 2:08 pm   Subject: payload from BytesMessage | 
  		
		  | Hi Forum, 
 My application gets an message which is An instance of BytesMsssage.
 How can I get the payload from this message ?
 
 
 if(msg instanceof BytesMessage){
 BytesMe ...
 | 
  		
		  |  Topic: MQ Exception. | 
  		
		  | Rohit_ 
 Replies: 3
 Views: 3165
 
 |  Forum: IBM MQ Java / JMS   Posted: Mon Sep 29, 2008 7:31 am   Subject: MQ Exception. | 
  		
		  | You guys rock. :thumbup: I got the solution,I was looking for.
 
 thanks bower5932 & atheek.
 | 
  		
		  |  Topic: MQ Exception. | 
  		
		  | Rohit_ 
 Replies: 3
 Views: 3165
 
 |  Forum: IBM MQ Java / JMS   Posted: Fri Sep 26, 2008 1:45 pm   Subject: MQ Exception. | 
  		
		  | I just don't want MQ to log exception. How can i keep it off from doing this?
 
 My program is polling MQ queue,and get below exception
 MQJE001: Completion Code 2, Reason 2033
 I just want to avoid  ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Sep 11, 2008 6:33 am   Subject: Traversing messages in Queue. | 
  		
		  | fjb_saper, 
 Yes you are absolutely right. My application has to just consume messages.
 Now I am bound to use MQ v6 and in Non JMS context I have two options to consume messages async.
 a)Triggers
 ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Sep 10, 2008 5:17 pm   Subject: Traversing messages in Queue. | 
  		
		  | No this is not pub/sub problem. messages are not published nor my application needs to subscribe to some Topic. 
 I don't want to use triggers for other trade offs. and I just need callback function  ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Sep 10, 2008 4:02 pm   Subject: Traversing messages in Queue. | 
  		
		  | Yes you can say that.from Biz perspective it's like pub/sub. 
 So I can implement this with MQSeries Publish/Subscribe broker ?
 I don't have to use JMS. while I am reading manual can some please exp ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Sep 10, 2008 11:14 am   Subject: Callback with MQ v6. | 
  		
		  | It seems like the only way to implement callback in IBM MQ v6 is thru triggers. 
 But triggers comes with lots of trade-offs. my MQ v6 server is installed on UNIX platform.any other way where i can i ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Sep 10, 2008 7:06 am   Subject: Traversing messages in Queue. | 
  		
		  | bower5932 ,dkeister 
 Okay apart from my particular application.I want to know if anyone has faced similar scenerio.
 
 Am safe reading messages from queue. My server crashes and now how to figure ou ...
 | 
  		
		  |  Topic: Traversing messages in Queue. | 
  		
		  | Rohit_ 
 Replies: 22
 Views: 12990
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Sep 10, 2008 6:40 am   Subject: Traversing messages in Queue. | 
  		
		  | The main Application say,"App" will place a message on queue,"Q1".Now different servers at different regions need to get this message and has to acknowledge for each and every mess ... |