Author |
Message |
Topic: Persistence property not working |
shindeashish
Replies: 3 Views: 3326
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 07, 2005 3:04 am Subject: Persistence property not working |
Actually the client application which gets the message is doing a BROWSE on the queue to get the message.We are also using channels for the same as queue managers are different.
We are receiving the ... |
Topic: Persistence property not working |
shindeashish
Replies: 3 Views: 3326
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 07, 2005 1:17 am Subject: Persistence property not working |
We are using MQ-JMS for sending messages to client.
The persistence property is set to NON_PERSISTENT.
However the message after being read at client side still persists in the queue, resulting in q ... |
Topic: JMS delivery Mode not working |
shindeashish
Replies: 7 Views: 4593
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 19, 2005 4:15 am Subject: JMS delivery Mode not working |
Got it from IBM site. Thanx |
Topic: JMS delivery Mode not working |
shindeashish
Replies: 7 Views: 4593
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 18, 2005 9:46 pm Subject: JMS delivery Mode not working |
How do i do a destructive read?
What are the default get message options if nothing is set>? |
Topic: JMS delivery Mode not working |
shindeashish
Replies: 7 Views: 4593
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 18, 2005 3:19 am Subject: JMS delivery Mode not working |
We are using MQOO_BROWSE while opening the connection to queue.
But we are also using browsenext to get a message.
Does BROWSE_NEXT gets a message with with destructive read?
If not please sugges ... |
Topic: JMS delivery Mode not working |
shindeashish
Replies: 7 Views: 4593
|
Forum: IBM MQ Java / JMS Posted: Mon Oct 17, 2005 10:24 pm Subject: JMS delivery Mode not working |
I have even tried with
MQMessage message = new MQMessage();
message.persistence = MQC.MQPER_NOT_PERSISTENT;
and
message.expiry = 200;
But still the message remains on queue.
Is the ... |
Topic: JMS delivery Mode not working |
shindeashish
Replies: 7 Views: 4593
|
Forum: IBM MQ Java / JMS Posted: Mon Oct 17, 2005 9:15 pm Subject: JMS delivery Mode not working |
I have a server-server MQ connection and have setup the sender and receiver channels and corresopnding local and remote queue on both servers.
The request is sent from one server to other (it listens ... |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 13, 2005 9:46 pm Subject: JMS-MQ Response cannot be read |
The client application is in C and it cannot be changed at all.
Also it expects messageId as a String hence the conversion from bytes to string at server end and sending it back again to client. |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Mon Oct 10, 2005 8:38 pm Subject: JMS-MQ Response cannot be read |
Finally got the solution. The messageId was being looked for in the response object.
The message Id in request was set to "DCON.....", however since it is a byte message it is received as 44434F... ( ... |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Sun Oct 09, 2005 8:51 pm Subject: JMS-MQ Response cannot be read |
I am using the reply to queue to send reply as below
Destination des = msg.getJMSReplyTo();
responseQueueName = ((MQQueue)des).getQueueName();
responseQueue = ((MQQueue)des);
System.out.print ... |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 07, 2005 6:25 am Subject: JMS-MQ Response cannot be read |
Openeing the receiver with MQMO_NONE gives an error with error code.
Failed to open the response queue! reason code = 2037
Any idea why? |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 07, 2005 5:31 am Subject: JMS-MQ Response cannot be read |
This does not seems to work as the message is posted on the respnse queue but using amqsget to retrieve the message gives following error:
========
Sample AMQSGET0 start ... |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 07, 2005 4:43 am Subject: JMS-MQ Response cannot be read |
The response now works ok for MQSTR and I am able to get the response using amqsget without any problem.
However the client still cannot read it. The C client opens the connection successfully on res ... |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 07, 2005 3:44 am Subject: JMS-MQ Response cannot be read |
Hi,
I am using MQ-JMS for sending messages.
How do I set the format "MQFMT_STRING"
Do you mean
bytesMessage.setStringProperty( "JMS_IBM_Format", "MQFMT_STRING" ); ?? |
Topic: JMS-MQ Response cannot be read |
shindeashish
Replies: 17 Views: 28083
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 07, 2005 2:10 am Subject: JMS-MQ Response cannot be read |
Hi,
I have closed all the objects as can be seen in the sendMessage code.
Is there anything else I need to do???
Also the client side is using the default option while trying to get the message ( ... |