This is DEBUG level. If you set DEBUG you somehow agree to see a lot of junk
;) Just raise log4j log level for this logger (or simply for
org.springframework).

BTW this is perfectly valid behavior - Spring-JMS just logs those things on
DEBUG level.

Roman

2009/10/19 linuca <[email protected]>

>
> But I want ActiveMQ to do the actual JMS sending / receiving.
>
> Anyway, I changed the code to:
>
> Object response =
> template.requestBody("activemq:queue:test.queue?maxMessagesPerTask=-1",
> "select * from clients");
>
> And it does the same "did not receive a message " logging.
>
> Any ideas?
>
>
> Claus Ibsen-2 wrote:
> >
> > On Mon, Oct 19, 2009 at 4:56 PM, linuca <[email protected]> wrote:
> >>
> >> Thanks Claus,
> >>
> >> It works like charm.
> >>
> >> For now, I just send one message.
> >>
> >> I find weird that every second I get this message in the log:
> >>
> >> DEBUG org.springframework.jms.listener.DefaultMessageListenerContainer -
> >> Consumer [ActiveMQMessageConsume
> >> r { value=ID:mendoza04-43584-1255964003207-0:0:1:1, started=true }] of
> >> session [ActiveMQSession
> >> {id=ID:mendoza04-43584-1255964003207-0:0:1,started=true}]
> >> did not receive a message
> >>
> >> Why is that?
> >
> > Its actually Spring JMS that does the JMS sending / receiving. Camel
> > is just on the top :)
> >
> > You may be able to get rid of it by setting the maxMessagesPerTas=-1
> > as documented here:
> > http://camel.apache.org/jms.html
> >
> >
> >
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/request-reply-with-sql-query-tp25958657p25959791.html
> >> Sent from the Camel - Users (activemq) mailing list archive at
> >> Nabble.com.
> >>
> >>
> >
> >
> >
> > --
> > Claus Ibsen
> > Apache Camel Committer
> >
> > Open Source Integration: http://fusesource.com
> > Blog: http://davsclaus.blogspot.com/
> > Twitter: http://twitter.com/davsclaus
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/request-reply-with-sql-query-tp25958657p25960255.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>

Reply via email to