camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simple Appointment <sa_remin...@hotmail.com>
Subject Logging received messages to stream:out
Date Sun, 30 Oct 2016 12:43:41 GMT
I am new to camel and would like to use it as our integration component. 
I was trying to log messages received from a jms queue to the console 
and it seems that the messages accumulates. Lets say I have messages
one,two,three,four in my queue.

    def configure(): Unit =  {
      from("activemq:TEST.FOO")
      .log(" stream:out")
    }

What I get is:

one,
one,two
one,two,three
one,two,three,four

I was expecting
one
two
three
four

Am I missing something?
Mime
View raw message