Questions tagged [rfh2]
10 questions
6
votes
6 answers
How to remove RFH2 header for a JMS client
I am using a JMS client. The queue is a IBM MQ. When I write data on the queue, it is added with the RFH header. How can I strip the RFH header. I cannot use IBM MQ apis.

Anirban Chakraborty
- 131
- 1
- 1
- 5
3
votes
1 answer
Using one Message Handle for several MQ message cause memory leaks?
Has anyone worked with MQ from RPG?
The problem is as follows. There are several messages in the queue. All of them are with RFH2 header. Each header contains a set of NameValueData.
I am creating a Message Handle and passing it to MQGET. Then I…

Victor Pomortseff
- 158
- 1
- 8
1
vote
1 answer
How to add prefix to MQ RFH2 Property Name using MQSETMP API form RPGLE?
Faced a problem. I need to place an RFH2 message into MQ with Properties in the header.
If using the MQ API:
MQCRTMH
MQSETMP
MQPUT
then everything works as long as the name Property does not contain a prefix (for example, 'Property1') - WRKMQMQ…

Victor Pomortseff
- 158
- 1
- 8
1
vote
1 answer
RFH2 - What is the format of the header?
I try to build an xml message to inject it in IBM MQ.
The format to be used should be RFH2. Do you know, do you have any documentation about the format (xsd?) of the header?
Thank you.

Royce
- 1,557
- 5
- 19
- 44
0
votes
1 answer
How to add a custom information in a RFH2 header?
I have to inject a message in IBM MQ.
Could you please explain me how to add a custom information in the header?
Please find below how I defined the RFH2 header and the message.
def message = new MQMessage()
def rfh2 = new…

Royce
- 1,557
- 5
- 19
- 44
0
votes
1 answer
Why RFH2 header is put before the message instead of in the header?
I need to create a message with RFH2 header and inject it in IBM MQ. Please find below how the message is created.
def message = new MQMessage()
def rfh2 = new…

Royce
- 1,557
- 5
- 19
- 44
0
votes
1 answer
Need to remove rfh header before sending message to mq
I'm using JndiDestinationResolver (JNDI-lookup) to resolve destination which i have added on application server.I saw solutions to remove rfh from message is by appending--> queue + "?targetClient=1". I'm passing jndi-name to…

Nik
- 5
- 1
- 3
0
votes
1 answer
What is the correct way of adding RFH2 header to IBM MQ message
I have recently started working with IBM MQ (v7.5) and currently working on a bridge like service for 2 way data transfer between MQ & another REST service I have.
By using standard APIs I am able to read and write messages without any issue.
But…

0biwan
- 31
- 1
- 8
0
votes
1 answer
How to move up subfolders one folder in a mqrfh2-header with java?
I want the SubFolders to move one folder up and delete the "FolderToDelete", since it is useless after moving the needed subfolders up.
The RFH2-Header is structured like this:

toxerli
- 17
- 8
0
votes
1 answer
XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder
Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that.
It turned out that the error is being thrown inside parsing the JMS envelope and…

Tomas Grosup
- 6,396
- 3
- 30
- 44