Migrating from Jboss4.2.3 to Jboss EAP6
Hi,
I am migrating application from Jboss4.2.3 to Jboss EAP6. This application uses the MDB and JMS queue.
What are the basic steps which I need to take care so I can migrate application.
the Jboss-web.xml is like this
jms/ConnectionFactory java:/JmsXA jms/QueueEcolApplication jnp://localhost:1100/queue/ukhe.pmi.ecol.apply jms/QueueDLQ jnp://localhost:1100/queue/ukhe.pmi.ecol.fail
and the EJB is like this
/**
* Message Driven Bean to add reliability layer to quote application
* submit service.
*/
@MessageDriven(name = "ECOLSubmitApp", activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/ukhe.pmi.ecol.apply"),
@ActivationConfigProperty(propertyName = "user", propertyValue = "guest"),
@ActivationConfigProperty(propertyName = "password", propertyValue = "guest"),
@ActivationConfigProperty(propertyName = "dLQJNDIName", propertyValue = "queue/ukhe.pmi.ecol.fail"),
@ActivationConfigProperty(propertyName = "dLQMaxResent", propertyValue = "0"),
@ActivationConfigProperty(propertyName = "dLQUser", propertyValue = "guest"),
@ActivationConfigProperty(propertyName = "dLQPassword", propertyValue = "guest")
})
public class SubmitAppMdb implements MessageListener {
private static final Logger LOG = LoggerFactory.getLogger(SubmitAppMdb.class);
private static final String QUOTE_REF = "quoteReference";
@EJB private ECOLQuoteAppService service;
Responses