Re: Pure JMS management

2017-05-19 Thread Clebert Suconic
Create a JIRA as well. Thanks. On Fri, May 19, 2017 at 2:21 AM Guillaume Nodet wrote: > It seems to work well for me. > I'll run a full build and will create a PR. > > 2017-05-19 8:03 GMT+02:00 Guillaume Nodet : > > > I'm enhancing a layer in OSGi to support Artemis, and I'd like to avoid > > ad

Re: Pure JMS management

2017-05-18 Thread Guillaume Nodet
It seems to work well for me. I'll run a full build and will create a PR. 2017-05-19 8:03 GMT+02:00 Guillaume Nodet : > I'm enhancing a layer in OSGi to support Artemis, and I'd like to avoid > adding package dependencies. > That's why I'm using the connection's classloader to load the needed > c

Re: Pure JMS management

2017-05-18 Thread Guillaume Nodet
I'm enhancing a layer in OSGi to support Artemis, and I'd like to avoid adding package dependencies. That's why I'm using the connection's classloader to load the needed class, as it's not available from the class which defines this code. To refine my question further: could the reply be typed as

Re: Pure JMS management

2017-05-18 Thread Clebert Suconic
@Tim Bain: yes.. Artemis from what I see on the class Names (I also spoke to him gnodet on the IRC channel earlier today). @gnodet: I am not understanding why you would need to use reflection. You can just simply use JMSManagementHelper directly. they are all static methods... This example here,

Re: Pure JMS management

2017-05-18 Thread Tim Bain
This is in Artemis? On May 18, 2017 4:23 PM, "Guillaume Nodet" wrote: > I'm trying do perform management operation with pure JMS api. > To retrieve the list of queues, I'm currently using the following code: > > QueueSession session = ((QueueConnection) > connection).createQueueSession(false, Se

Pure JMS management

2017-05-18 Thread Guillaume Nodet
I'm trying do perform management operation with pure JMS api. To retrieve the list of queues, I'm currently using the following code: QueueSession session = ((QueueConnection) connection).createQueueSession(false, Session.AUTO_ACKNOWLEDGE); Queue managementQueue = session.createQueue("activemq.man