To connect on a remote host, and receive the queue posted, is need
@MessageDriven(name = "MDB_Queue",
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/mdbQueue"),
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")
@ResourceAdapter("jms-ra-principal.rar") // name of the resource
ra.xml example in jca-remote
change to: 5445 is the default port
this work fine
thanks Clebert to help me
I think that this can be the doubt of many users.. Then I posted the solution..
now my questions is:
It's possible to add ra.xml into my ear, without create jms-ra-principal?
I would like only put the modified ra.xml into my ear.. and the application work..
Retrieving data ...