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 » Publish/Subscribe Broker putting on two RFH headers

Post new topic  Reply to topic
 Publish/Subscribe Broker putting on two RFH headers « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Wed Dec 14, 2005 6:47 am    Post subject: Publish/Subscribe Broker putting on two RFH headers Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

Using the MA0C support pac I'm trying to publish with a Java app and subscribe with c. I used the amqssuba.c sample privided by the MA0D support pac. Everything seems to work although the c app seems to think the message is RFH...

It does parse off the RFH header, so I was confused. But after looking into it it looks as though the messages being published have 2 RFH headers. After parsing them both off I see my message. Anyone have any idea why MQ or the Broker would put 2 headers on my messages?

I tried changing my topic in LDAP to use the MQ targclient rather than JMS thinking that it should get rid of one of the headers but no luck.

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 14, 2005 7:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Post an amqsbcg of the message on the subscriber queue.

Post the relevant sections of your Java publishing code.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 14, 2005 3:18 pm    Post subject: Reply with quote

Grand High Poobah

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

Since 5.3 CSD08 you should not be using the support packs in java

If you use C check out the XMS support pack.

Enjoy
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Wed Dec 14, 2005 5:38 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Since 5.3 CSD08 you should not be using the support packs in java

Did CSD08 also provide the same sample source code as the Support Pac. If not, then the Support Pac still provides some "goodness". As well as a manual.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Thu Dec 15, 2005 12:24 pm    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

Thanks for your posts, it looks as though it was my targclient setting. When I tried changing it to MQ I altered the wrong configuration. No only sends across with one RFH.
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 » Publish/Subscribe Broker putting on two RFH headers
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.