Hi, we are using ActiveMQ 5.6.0 resource adapter to send messages to an ActiveMQ broker. According to the documentation and examples, ActiveMQConnectionFactory/ActiveMQConnection allows to configure the desired redelivery policy for example. The problem is that when using ActiveMQ resource adapter, it returns not the standard ActiveMQConnectionFactory/ActiveMQConnection classes, but those from org.apache.activemq.ra package. And they do not provide such functionality. The only way to provide some connection factory specific properties (e.g. redelivery policy) is to use reflection and access the private method createConnection(ActiveMQConnectionRequestInfo connectionRequestInfo). Yes it is possible to set redelivery policy using Resource Adapter configuration. But there is only one resource adapter in the app server and multiple connection factories, which have different requirements on redelivery policies. It is possible to do this using standard ActiveMQ client API. But it is not possible to do this via the resource adapter. What would be nice, is to make ActiveMQConnectionFactory from org.apache.activemq.ra package to accept the same configuration properties like the standard ActiveMQConnectionFactory from org.apache.activemq. Or may be, should createConnection(ActiveMQConnectionRequestInfo connectionRequestInfo) method be public?
Best regards, Sergiy -- View this message in context: http://activemq.2283324.n4.nabble.com/JEE-Resource-Adapter-and-ActiveMQConnectionFactory-tp4655236.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.