Author |
Message
|
JohnRodey |
Posted: Wed Dec 14, 2005 6:47 am Post subject: Publish/Subscribe Broker putting on two RFH headers |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Dec 14, 2005 7:56 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Dec 14, 2005 3:18 pm Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Wed Dec 14, 2005 5:38 pm Post subject: |
|
|
 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 |
|
 |
JohnRodey |
Posted: Thu Dec 15, 2005 12:24 pm Post subject: |
|
|
 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 |
|
 |
|