Author |
Message |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 25, 2011 1:15 pm Subject: Dynamic message selection within EJB container |
Many tnx for the follow-ups. I'm going to ask for an additional queue to used solely for the grouped messages. I think this is the easiest and safest solution......
Cheers…. |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 25, 2011 4:58 am Subject: Dynamic message selection within EJB container |
I expect non grouped messages would have the group field filled with hex 0 and you could certainly check on that... , but I thought they'd also have the last in group indicator set to true...
is t ... |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Thu Nov 24, 2011 3:55 pm Subject: Dynamic message selection within EJB container |
1st thing you are missing is that it applies to any message, not just to Bytes message.
Yes, this is taken care off.... actually textMessages are not allowed as the data expected are actually images ... |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Thu Nov 24, 2011 9:25 am Subject: Dynamic message selection within EJB container |
Guys tnx for the response so far…. pls see the following snippet – are we on the same page yet?
Go easy …..
public void onMessage(Message msg) {
// TODO Auto-gener ... |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Wed Nov 23, 2011 3:12 pm Subject: Dynamic message selection within EJB container |
Thanks for your response mqjeff. I initially considered your idea but then realised this will not work in a (MDB) clustered environment. Do you agree ?
The message-selector seems to simplify the sol ... |
Topic: Dynamic message selection within EJB container |
johnson
Replies: 12 Views: 8105
|
Forum: IBM MQ Java / JMS Posted: Wed Nov 23, 2011 8:07 am Subject: Dynamic message selection within EJB container |
Hi there,
I need to retrieve two types of messages of the same queue, grouped
and non-grouped messages, using an MDB message selector.
I can successfully retrieve the grouped messages usin ... |