Not sure I can help. But I think in a JEE context you shouldn't be using a JMS message listener. But probably it's not valid to receive JMS messages either.
just make an mdb that receives e.g. a task id from an external system and can trigger the process (retrieve the task or process based on the id)