Author |
Message |
Topic: Adding MQRFH2 using MQHeaderList, getting MQRC_RFH_ERROR |
notoneword
Replies: 9 Views: 13969
|
Forum: IBM MQ Java / JMS Posted: Fri Jun 07, 2013 6:18 am Subject: Adding MQRFH2 using MQHeaderList, getting MQRC_RFH_ERROR |
Yaknow, I'm looking at the code that I ended up with and it's quite different from where I started.
Now, I'm using the MQMessage object to write the RFH2 fields, properly and in order. With name-v ... |
Topic: Any way to set Identity Context using PCFMessageAgent? |
notoneword
Replies: 6 Views: 5780
|
Forum: IBM MQ Java / JMS Posted: Tue Nov 08, 2011 11:55 am Subject: Any way to set Identity Context using PCFMessageAgent? |
@mqjeff: thanks for the tip!
@Grand Poobah: .. and we're using a client connection. |
Topic: Any way to set Identity Context using PCFMessageAgent? |
notoneword
Replies: 6 Views: 5780
|
Forum: IBM MQ Java / JMS Posted: Tue Nov 08, 2011 11:51 am Subject: Any way to set Identity Context using PCFMessageAgent? |
We don't require that be set to anything.
basically looking to pass the userid of the user logged into our app, so setting a static value in the MCAUserIdentifier is not an option, I don't believe. |
Topic: Any way to set Identity Context using PCFMessageAgent? |
notoneword
Replies: 6 Views: 5780
|
Forum: IBM MQ Java / JMS Posted: Tue Nov 08, 2011 11:45 am Subject: Any way to set Identity Context using PCFMessageAgent? |
Currently using PCFMessageAgent in our application to send/receive messages from queue managers. Have a requirement to pass the user id with these requests. I know that can be done using the PMO and ... |
Topic: JMS: How to write properties |
notoneword
Replies: 7 Views: 6473
|
Forum: IBM MQ Java / JMS Posted: Fri Jul 08, 2011 11:28 am Subject: JMS: How to write properties |
Thanks for the links, I'm sure they'll come in handy! |
Topic: JMS: How to write properties |
notoneword
Replies: 7 Views: 6473
|
Forum: IBM MQ Java / JMS Posted: Fri Jul 08, 2011 7:05 am Subject: JMS: How to write properties |
I knew I was asking the right people..
I've no problem with spokes and wheels, I just know little about JMS (and I'll check out that tutorial thanks) and am trying to figure out the best way to ... |
Topic: JMS: How to write properties |
notoneword
Replies: 7 Views: 6473
|
Forum: IBM MQ Java / JMS Posted: Fri Jul 08, 2011 5:40 am Subject: JMS: How to write properties |
Ok, so in these forums lately I've been bringing up some various issues I've had lately with using the Java/MQ API to write RFH2 headers. Invariably the answer is 'Use JMS!'
I'm finally ready to g ... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Thu Jun 30, 2011 5:46 am Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
Ok, thanks for the advice guys. First chance I get I'll be trying out the set*Property methods and see if they'll do what I need to do, and I'll drop a note back on this thread when I do - thanks aga ... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 29, 2011 4:49 pm Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
Ok, thanks. Helpful link there. And yes, I'm using FP 7.0.1.5.
I was starting to think the answer in this forum always seems to be 'use JMS' and maybe there's good reason for that, eh?
... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 29, 2011 1:12 pm Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
Because you've got the alignment wrong.
Hmm, you seem pretty sure of this I'm curious what you're basing that on? Did you see that I am writing RFH headers fine with other folder names, and ... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 29, 2011 12:51 pm Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
I may look into doing it that way, assuming it doesn't require all Qmgrs be V7 or better - does it?
But, back to the question at hand. RFH headers, written and read successfully, that's all workin ... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 29, 2011 4:53 am Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
Thanks for the suggestions!
As mentioned, I am getting RFH headers to show up using the MQHeaderIterator (when not including usr folder), so I'm pretty certain that I'm constructing the headers cor ... |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 28, 2011 6:21 pm Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
I just realized this is in the wrong forum, should be MQ java API/JMS. Can someone please move it there? thanks |
Topic: RFH2 header with <usr> folder, issue with MQHeaderIter |
notoneword
Replies: 14 Views: 10382
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 28, 2011 6:08 pm Subject: RFH2 header with <usr> folder, issue with MQHeaderIter |
No, I'm not using JMS classes (just wanted to get that out of the way.)
We noticed a strange issue in our testing when browsing a message - certain RFH2 headers don't get picked up by MQHeaderItera ... |
Topic: Java API: MQRC 2421 writing RFH2 on certain platforms |
notoneword
Replies: 24 Views: 16393
|
Forum: IBM MQ Java / JMS Posted: Sat Jun 25, 2011 3:34 pm Subject: Java API: MQRC 2421 writing RFH2 on certain platforms |
Which Encoding is that? MQMD.Encoding, or MQRFH2.Encoding?
Sorry, good point - MQMD.Encoding was set to 546. I can't recall if the MQRFH2.Encoding value was 546 at that point or not. |