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 Message Broker (ACE) Support » properties topic

Post new topic  Reply to topic
 properties topic « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Tue Sep 23, 2014 9:27 am    Post subject: properties topic Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

i set the topic using properties.topic

compute node --> mqjmstranform -->publish

then when i subscribe using jmsinput the message comes in as blob

jmspayload type is jms_bytes

jmspayload type is jms_text when i see in the publish flow

LOoked in the forum and also in the infocenter but nothing that explains why the type changes in the subscrive flow.

Also tried setting the input parser as XMLNSC in the jms input node but that failed.

any suggestions?
Should i use mqrfh2 header when publishing instead of just setting the properties.topic?
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Tue Sep 23, 2014 9:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Not sure why you're using the mqjmstransform node before the Publish node.

You only need mqjmstransform when you're sending a message to a JMSOutput node.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Tue Sep 23, 2014 9:53 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

here is why i used the mqjmstransform

when i publish without the mqjmstransform, the jmsinput node subscribes to the message but in the payload i see "xml parsing errors have occured"

the wierd thing is there is another broker where it works fine without the mqjmstransform and even the xml payload parses fine. Same flow throws the xml parser error when deployed in current broker.

i compared the headers message headers between the two tests and couldnt find anything odd.

should i be looking at any queue manager settign perhaps?
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Tue Sep 23, 2014 10:09 am    Post subject: Reply with quote

Grand High Poobah

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

paustin_ours wrote:
should i be looking at any queue manager settign perhaps?


The COMPAT settings on the 2 queue managers might make interesting reading
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Tue Sep 23, 2014 10:42 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

are you referring to property control on the queues?

i looked at the system.jms. queues it is all set to compatibility
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Tue Sep 23, 2014 10:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should be looking at an amqsbcg output of the published message, before your subscriber tries to read it.

I suspect you're having issues with the actual content of the message, including bad characters or etc.

This would then cause the XML parsing to fail and possibly the JMS layer to treat the message as JMSBytes rather than JMSText.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Tue Sep 23, 2014 1:33 pm    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

Its identical not sure what else to look for.
Back to top
View user's profile Send private message Yahoo Messenger
paustin_ours
PostPosted: Tue Sep 23, 2014 2:12 pm    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

i take it back, one publish message when browsed has rfh header
the other doesnt have it. the one without rfh header work.

I dont create the RFH header in the code. not sure where it is coming from.
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue Sep 23, 2014 7:29 pm    Post subject: Reply with quote

Grand High Poobah

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

paustin_ours wrote:
i take it back, one publish message when browsed has rfh header
the other doesnt have it. the one without rfh header work.

I dont create the RFH header in the code. not sure where it is coming from.

Look at the publish and subscription setup on the qmgr and focus on the RFH area...
Have fun
_________________
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 Message Broker (ACE) Support » properties topic
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.