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: Client and server artifacts in Spring JMS example.
Date Wed, 13 Jan 2016 15:37:03 GMT
Yes, I was confusing the embedded Artemis broker "server" with the message
consumer, which, like the message producer, is actually a client of the
broker.  So in the embedded example there are actually two clients (message
producer and consumer) and one server (Artemis broker).  MessageSender
corresponds to the message producer and ExampleListener corresponds to the
message consumer.

Derek

On 12 January 2016 at 14:18, Justin Bertram <jbertram@apache.com> wrote:

> You're mostly right.  Everything but the "securityManager" and
> "EmbeddedJms" beans are for the client.
>
>
> Justin
>
> ----- Original Message -----
> From: "Derek Mahar" <derek.mahar@gmail.com>
> To: users@activemq.apache.org
> Sent: Tuesday, January 12, 2016 1:14:12 PM
> Subject: Client and server artifacts in Spring JMS example.
>
> From
>
> https://github.com/apache/activemq-artemis/blob/master/examples/features/standard/spring-integration/src/main/resources/spring-jms-beans.xml
> ,
> would it be accurate to separate the beans into the following lists of
> client and server components?
>
> Client
>
> - connectionFactory
> (org.apache.activemq.artemis.jms.client.ActiveMQJMSConnectionFactory)
> - exampleQueue (org.apache.activemq.artemis.jms.client.ActiveMQQueue)
> - MessageSender (org.apache.activemq.artemis.jms.example.MessageSender)
>
>
> Server
>
> - securityManager
> (org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager)
> - EmbeddedJms
> (org.apache.activemq.artemis.integration.spring.SpringJmsBootstrap)
> - listener (org.apache.activemq.artemis.jms.example.ExampleListener)
> - listenerContainer
> (org.springframework.jms.listener.DefaultMessageListenerContainer)
>
> The purpose of this exercise would be to isolate the server from the client
> components in order to embed the server components alone into another
> server process.
>
> Derek
>

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