activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Mahar <derek.ma...@gmail.com>
Subject Re: InVMConnectorFactory?
Date Mon, 11 Jan 2016 21:01:44 GMT
Okay, I follow now.  It's strictly for communication between a client and a
server within the same JVM.  For now, this is exactly what I need.

Derek

On 11 January 2016 at 15:58, Clebert Suconic <clebert.suconic@gmail.com>
wrote:

> 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.mahar@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 <jbertram@apache.com> wrote:
> >
> >> It should be in the artemis-server jar.
> >>
> >>
> >> Justin
> >>
> >> ----- Original Message -----
> >> From: "Derek Mahar" <derek.mahar@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
>
> --
> Clebert Suconic
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message