@@ -0,0 +1,1435 @@
+package org.jeecqrs.commands.bus.jms;%0A%0Aimport javax.annotation.PostConstruct;%0Aimport javax.annotation.Resource;%0Aimport javax.ejb.ActivationConfigProperty;%0Aimport javax.ejb.MessageDriven;%0Aimport javax.ejb.MessageDrivenContext;%0Aimport javax.jms.Message;%0Aimport javax.jms.MessageListener;%0A%0A/**%0A *%0A */%0A@MessageDriven(%0A        mappedName = %22commandQueue%22,  // required on Glassfish%0A        activationConfig =  %7B%0A            // Glassfish: muss property.Name sein, darf / nicht enthalten%0A            // Jboss: muss jndi name sein, mandatory%0A            @ActivationConfigProperty(propertyName = %22destinatio%22, propertyValue = %22commandQueue%22)%0A            //@ActivationConfigProperty(%0A             //       propertyName = %22destinationLookup%22,%0A              //      propertyValue = %22commandQueue%22) %0A%0A        %7D%0A)%0Apublic class TestCommandHandler implements MessageListener %7B%0A%0A    @Resource%0A    private MessageDrivenContext mdc;%0A%0A    @PostConstruct%0A    public void postConstruct() %7B%0A        System.out.println(%22##################### Post construct called!%22);%0A        System.out.println(mdc.getContextData().values());%0A    %7D%0A%0A    @Override%0A    public void onMessage(Message message) %7B%0A        System.out.println(%22JMSCommandHandler: received message: %22 + message);%0A        try %7B%0A            Thread.sleep(500);%0A        %7D catch (InterruptedException e) %7B%0A            // ignore%0A        %7D%0A        System.out.println(%22Ready processed%22);%0A    %7D%0A%0A    %0A%0A    %0A%7D%0A

Add JMS test command handler, 1st try