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 Java / JMS » MDB jms headers lost

Post new topic  Reply to topic
 MDB jms headers lost « View previous topic :: View next topic » 
Author Message
Ram392
PostPosted: Tue Aug 03, 2010 2:06 am    Post subject: MDB jms headers lost Reply with quote

Newbie

Joined: 03 Aug 2010
Posts: 3

Hi,
I am migrating my application from WAS 6 to WAS 7 and we use MQ 7.
The problem I am facing right now is when MDB receives a message, the jms header values are all set to null or default values and don't have any values I set. My application need jmstype to process the message.
I have tested with standalone client to send/receive message, everything works fine, I could see the all the header details.
In MDB, I get the message body but not headers.
JMSMessage class: jms_text
JMSType: null
JMSDeliveryMode: 2
JMSExpiration: 0
JMSPriority: 4
JMSMessageID: null
JMSTimestamp: 0
JMSCorrelationID: null
JMSDestination: null
JMSReplyTo: null
JMSRedelivered: false

Please advice me if I am missing any thing.

Thanks,
Ram
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 03, 2010 8:13 pm    Post subject: Reply with quote

Grand High Poobah

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

Is your MDB using an MQ7 or MQ6 client? Are you using a client connection?
What kind of compatibility setting have you set on your qmgr?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Ram392
PostPosted: Wed Aug 04, 2010 8:50 am    Post subject: Reply with quote

Newbie

Joined: 03 Aug 2010
Posts: 3

Thanks for your reply.
In my QMgr, I tried the default setting - 'Compatibility' and also 'Force RFHDR' settings for the queue to which my mdb was listening.

I didn't understand your question about client connection. We use MQ7 and there is no MQ6 on my machine.
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 Java / JMS » MDB jms headers lost
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.