No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
objectmessage-ear-commons
objectmessage-ear-ear
objectmessage-ear-ejb
objectmessage-ear-web
.gitignore
README.md
pom.xml

README.md

EAR application to check that JMS ObjectMessage works as expected in AS7.

Scenario

  • instance of MyResource class is used as the JMS ObjectMessage payload
    • put inside a JAR in EAR's lib/ directory
  • a Servlet send a JMS message with a MyResource instance
    • put inside a WAR in the EAR
  • a MDB consumes the JMS message and is able to use the MyResource instance
    • put inside a EJB JAR in the EAR

Instructions

  1. Start AS7 with the standalone-full configuration

     $ ${JBOSS_HOME}/bin/standalone.sh -c standalone-full.xml
    
  • Deploy the EAR

      $ mvn clean package jboss-as:deploy
    

    Then go to http://localhost:8080/objectmessage-ear-web/hello and check in the AS7 logs that the HelloWorldMDB has received the ObjectMessage with the MyResource payload

  • Undeploy the EAR

      $ mvn jboss-as:undeploy