I used this to create MDB:
@MessageDriven
@ConnectionConfig(destinationType = javax.jms.Topic.class,
destinationJndiName = "topic/smsadminInbox",
durable = false,
messageSelector = "phoneNumber = XXX")
How can I change messageSelector for MDB at runtime?
I took a brief look, and this does not seem to be possible at the moment.