Author |
Message |
Topic: Accessing Dead Letter Queue with java client |
errorken
Replies: 12 Views: 12614
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 28, 2005 1:50 am Subject: Accessing Dead Letter Queue with java client |
Yes, I've allready seen I can cast the CF to an MQCF, but I could not do anything more with it. What is the MS0B ??
About the DLQ: it is hard-coded in the websphere JMS configuration files, remembe ... |
Topic: Websphere-jms-stateless session bean:message acknowledgement |
errorken
Replies: 4 Views: 8317
|
Forum: IBM MQ Java / JMS Posted: Sat Nov 26, 2005 1:31 am Subject: Websphere-jms-stateless session bean:message acknowledgement |
Well, if you read my post you would notice that I'm NOT working with an MDB here. I'm using a SSB (stateless session bean).
Regardless of the scenario I'm building, I was wondering why the message. ... |
Topic: Accessing Dead Letter Queue with java client |
errorken
Replies: 12 Views: 12614
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 25, 2005 12:02 pm Subject: Accessing Dead Letter Queue with java client |
Ok, I'm posting a follow up for this problem.
It seems that my problem was related to the fact that a DLQ is not visible in JNDI tree of websphere. The trick is to specify the name of the queue rat ... |
Topic: Websphere-jms-stateless session bean:message acknowledgement |
errorken
Replies: 4 Views: 8317
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 25, 2005 10:19 am Subject: Websphere-jms-stateless session bean:message acknowledgement |
ok, I tried what you suggested.
I put 10 messages on the queue. Next I created a transacted session with the ack value set to -1. For the first 5 message I receive I do a commit() . For the sixth ... |
Topic: Websphere-jms-stateless session bean:message acknowledgement |
errorken
Replies: 4 Views: 8317
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 25, 2005 9:39 am Subject: Websphere-jms-stateless session bean:message acknowledgement |
I'm developing using WSAD and using the internal test server with the internal JMS (which is very much like MQ).
When I create a ordinary java client (out container) that accessess this queue direc ... |
Topic: Accessing Dead Letter Queue with java client |
errorken
Replies: 12 Views: 12614
|
Forum: IBM MQ Java / JMS Posted: Wed Nov 23, 2005 4:15 am Subject: Accessing Dead Letter Queue with java client |
Aside from what bower said, I would add: If you're going to write a dlq handler (btw, why?) first thing you should do is look up the internet and this site for samples; there's a good chance someone h ... |
Topic: Accessing Dead Letter Queue with java client |
errorken
Replies: 12 Views: 12614
|
Forum: IBM MQ Java / JMS Posted: Wed Nov 23, 2005 4:09 am Subject: Accessing Dead Letter Queue with java client |
Thanks for your reply. I allready know that the DLQ is an ordinary queue and that I should be able to access it as any other queue.
Let me explain how I access an ordinary queue:
1. I open my we ... |
Topic: Accessing Dead Letter Queue with java client |
errorken
Replies: 12 Views: 12614
|
Forum: IBM MQ Java / JMS Posted: Wed Nov 23, 2005 2:39 am Subject: Accessing Dead Letter Queue with java client |
We are using websphere and the internal websphere jms server (which is a light version of MQ) . Now, when messages are written to the DLQ, how on earth can I get them back out using a java program?
... |