Skip to content

Instantly share code, notes, and snippets.

@garethahealy
Created September 4, 2017 13:01
Show Gist options
  • Save garethahealy/6d8c27a2f9fd7e04bf9def55463cafca to your computer and use it in GitHub Desktop.
Save garethahealy/6d8c27a2f9fd7e04bf9def55463cafca to your computer and use it in GitHub Desktop.
mdb
@MessageDriven(
mappedName = "HELLOWORLDMDBQueue",
activationConfig = {
@ActivationConfigProperty(propertyName = "destination", propertyValue = "HELLOWORLDMDBQueue"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "maxSession", propertyValue = "10")
})
@TransactionManagement(TransactionManagementType.BEAN)
@ResourceAdapter("activemq-rar")
@org.jboss.ejb3.annotation.Pool(value="mdb-strict-max-pool")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment