How to configure EJB2 MDB activation properties in JBoss per profile/environment

Solution Verified - Updated -

Issue

How do we externalise the configuration  of a Message-Driven bean using Websphere MQ, so that the package  contains no environment-specific configuration within it, either as  compiled annotations on the bean, or XML configuration packaged inside  the jar. The reason or this we move the app from one env to another the  queue will be different and we had to change this in our code( app) and  repackage it everytime.

Environment

  • JBoss  Enterprise Application Platform (EAP) 5.0
  • EJB 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content