Hi Reiner,
You need to decouple the createOrder transaction from the MDB's transaction. The easiest way to do that is to assign a tx attribute of REQUIRES_NEW to createOrder. You can then catch an EJBException in the MDB, send your reply, and return normally from onMessage.
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=274864