[JBoss Messaging] - Redelivery policy and DLQ
by clemdec
Hi.
I can't find any information about redelivery policy and use of DLQ for JBoss Messaging. Maybe someone should answer to my questions:
1/ In which general cases a message would be redelivered or sent to a DLQ (rollback, connection closed, etc.) ?
2/ Where do I have to change my config to modify the "MaxDeliveryAttempts" (actualy, I wrote 5 but, consequently to 1 rollback on my session, my message went in the DLQ and not in my initial queue, as I expected) ?
I have to say I have just one queue (myQueue) and a DLQ. I use a CLIENT_ACKNOWLEDGE session. I just have 1 message (myMessage), i don't mind the order of the messages in myQueue. And this is my goal : I want to "obtain" my myMessage from myQueue 5 times. I will fail to manage it 5 times so the 4th first times I want this message to go back to myQueue and the 5th time I want it to go to my DLQ.
Thank for the help !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156765#4156765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156765
17 years, 10 months
Delivery Failure
by Postmaster
---------------------------------------------------------------------------------
The message you sent to vetafarm.com.au/trash50534137 was rejected because it would exceed the quota for the mailbox.
The subject of the message follows:
Subject: =?windows-1251?B?0ODh7vLt6Oog7uPu8Pfg5fI/?=
---------------------------------------------------------------------------------
17 years, 10 months
[JBoss jBPM] - Swimlane Instance Reassignment
by pjacobsen
So I've seen Jiras for this topic, but I'm not quite sure how to reassign a swimlane instance to new actors. Here's the situation:
Swimlane instance is assigned to actors: "A" & "B"
String actorsString = "A,B";
| String[] actorsArray = actorsString.split(",");
| swimlaneInstance.setPooledActors(actorsArray);
|
Swimlane instance is assigned to actors: "C" & "D"
| String actorsString = "C,D";
| String[] actorsArray = actorsString.split(",");
| swimlaneInstance.setPooledActors(actorsArray);
|
This, however, just adds C & D (i.e. the swimlane now is assigned to "A", "B", "C", and "D") versus replacing A & B. How do I get this to reassign the swimlane instance to C & D? Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156758#4156758
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156758
17 years, 10 months