Author |
Message |
Topic: message id on publishj with MQPUT() |
whiting
Replies: 1 Views: 12260
|
Forum: IBM MQ API Support Posted: Sat Dec 15, 2018 6:46 am Subject: message id on publishj with MQPUT() |
I'm trying to get the messsage Id created when publishing a message
I'm using the MQPUT() or MQPUT1() where the objectType is set to topic instead of the default queue
MQPUT() returns zeroes in ... |
Topic: JSON error response from HTTPInput timeout |
whiting
Replies: 6 Views: 7667
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jun 02, 2016 7:42 am Subject: JSON error response from HTTPInput timeout |
I found the solution:
Connect to the HTTP Timeout terminal.
Create the message body in JSON format, but also Add an HTTPReplyHeader with the ContentType set to 'application/json'
When I did tha ... |
Topic: JSON error response from HTTPInput timeout |
whiting
Replies: 6 Views: 7667
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jun 02, 2016 5:44 am Subject: JSON error response from HTTPInput timeout |
That is exactly what I did.
I thought that should have worked, the infocenter didn't help.
OK, I guess it's time for a PMR.
Thanks! |
Topic: JSON error response from HTTPInput timeout |
whiting
Replies: 6 Views: 7667
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 01, 2016 3:12 pm Subject: JSON error response from HTTPInput timeout |
If I get a reply message from the MQ backend, then everything works fine. I create a JSON response out of the MQ response and return the JSON via an HTTP Reply node.
If I catch the timeout and cre ... |
Topic: JSON error response from HTTPInput timeout |
whiting
Replies: 6 Views: 7667
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jun 01, 2016 12:49 pm Subject: JSON error response from HTTPInput timeout |
I'm working with IIB 9.0.0.4
I am creating a REST to MQ mediation flow. In the event of an error or timeout, I want to return a JSON formatted response to the calling application.
If I get an e ... |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Mar 03, 2016 3:29 am Subject: working |
Thanks timber.
I moved the RCD node immediately after the MQGet and the message was recast as BLOB without exception. I was thinking that I was going to have to gather all of the message sets and in ... |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Mar 02, 2016 2:31 pm Subject: treating message as a BLOB |
OK, I have a compute node immediately after an MQGET and I'm clearing the format, ste and type fields in the Properties. as well as deleting the RFH2 header.
The Domain on the MQGET is set to BLOB an ... |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Mar 02, 2016 1:32 pm Subject: treating message as a BLOB |
What needs to be cleared in the MQMD? |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Mar 02, 2016 12:24 pm Subject: rfh2 trumps all |
I cleared the RFH2 (removed by setting it to NULL) in a compute node before the ResetContentDescriptor node and the RCD threw the exception "RM Dictionary not found"
Additionally I set the ... |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Mar 02, 2016 10:57 am Subject: input parser |
Thanks, I tried that.
Since the message has an RFH2 header that overrides the input parser setting.
I haven't found a way to tell the broker to ignore the RFH2. |
Topic: treating message as a BLOB |
whiting
Replies: 14 Views: 12086
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Mar 02, 2016 9:46 am Subject: treating message as a BLOB |
I'm reading messages which have an RFH2 header that contains message set/format
I want to treat these messages as BLOBs, but the Reset Content Descriptor insists on having access to the message set ... |
Topic: JCN com.ibm.broker.javacompute.Base64 not found |
whiting
Replies: 2 Views: 4992
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Dec 30, 2015 8:32 pm Subject: thanks |
I googled and searched the forum , but hadn't found those links yet.
Adding a jar with Base64 was my next step. |
Topic: JCN com.ibm.broker.javacompute.Base64 not found |
whiting
Replies: 2 Views: 4992
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Dec 30, 2015 2:17 pm Subject: JCN com.ibm.broker.javacompute.Base64 not found |
I'm trying to decode a base64 string in a java compute node.
The toolkit finds the class com.ibm.broker.javacompute.Base64 and indicates that there is a decode() method which takes a String and retur ... |
Topic: Same WMB message flow to read from Multiple Input Queues |
whiting
Replies: 12 Views: 9725
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Dec 23, 2015 10:22 am Subject: Same WMB message flow to read from Multiple Input Queues |
Is there a reason not to use RFH2 header?
You could use the messagetype field to distinguish messages.
Another option is to use the messagetype field of the MQMD. Use a value greater than 8 (Datagr ... |
Topic: Override UDP in a subflow |
whiting
Replies: 5 Views: 7787
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Dec 23, 2015 9:41 am Subject: Environment variable |
Given your description of what you want to do, you might try a variable in the environment tree.
You can set it in the parent message flow and access it in the subflow.
i.e. in the parent message ... |