got it. Thanks!

On 12/12/06, Bish, Tim <[EMAIL PROTECTED]> wrote:


>
> 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

Reply via email to