The default constructor will be using TCP to talk to the server.

If you want a direct InVM communication without Netty, you can do this:


// This is a JMS Connection Factory.
ConnectionFactory factory = ActiveMQJMSConnectionFactory("vm:/1")


^^ That will use the proper Connector to talk between client and server.


Notice that if you decide to use inVM your client will need access to
the Server's classLoader given you want to do inVM communication.






On Mon, Jan 11, 2016 at 3:55 PM, Derek Mahar <derek.ma...@gmail.com> wrote:
> So an Artemis client need not create an ActiveMQJMSConnectionFactory using
> a TransportConfiguration?  Is the default constructor sufficient?
>
> On 11 January 2016 at 15:50, Justin Bertram <jbert...@apache.com> wrote:
>
>> It should be in the artemis-server jar.
>>
>>
>> Justin
>>
>> ----- Original Message -----
>> From: "Derek Mahar" <derek.ma...@gmail.com>
>> To: users@activemq.apache.org
>> Sent: Monday, January 11, 2016 2:42:06 PM
>> Subject: InVMConnectorFactory?
>>
>> In ActiveMQ Artemis 1.2.0, in which Artemis Maven library can I  find class
>> org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnectorFactory to
>> which
>>
>> https://github.com/apache/activemq-artemis/blob/master/examples/features/standard/spring-integration/src/main/resources/spring-jms-beans.xml
>> refers?  I can't find this class in artemis-core-client 1.2.0, for example.
>>
>> Derek
>>
>
>
>
> --
> Derek Mahar
> 1.514.316.6736 Home
> 1.514.316.7348 Mobile
> 1.514.461.3650 x230 Work
> 102-1365 boulevard René-Lévesque Est
> Montréal QC H2L 2M1
> Canada



-- 
Clebert Suconic

Reply via email to