activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bish, Tim" <Tim.B...@Sensis.com>
Subject RE: two basic questions
Date Tue, 12 Dec 2006 19:43:23 GMT

> 
> 1. where can I find the activemq log file? I found "activemq.log"
under
> var
> directory. But it is always empty.

AMQ using log4j, so you need to make changes in the log4j.properties in
the conf folder to turn on logging.

> 2. in the given activemq.xml example, there are two
transportConnectors:
> 
>        <transportConnector name="default" uri="tcp://localhost:61616"
> discoveryUri="multicast://default"/>
>        <transportConnector name="stomp"
uri="stomp://localhost:61613"/>
> 
> In the java producer example, I had to use:
> 
> java ProducerTool tcp://localhost:61616  <-working
> 
> java ProducerTool stomp://localhost:61613 <-NOT working
> 
> As I understand, ActiveMQ uses stomp over tcp to communicate between
> client
> and broker. Can anyone give more detail on this? As matter of fact,
the
> activemq-cpp example has to use "tcp://127.0.0.1:61613" to work.
> 
> Thanks in advance

Mime
View raw message