You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Jonasty <jo...@gmail.com> on 2015/03/25 09:55:23 UTC
Failed to create route on activemq
I have following code:
context.addRoutes(new RouteBuilder() {
public void configure() throws JMSException {
from("activemq:queue:KBC?noop=true").process(new
QueueProcessor());
}
});
The queueprocessor writes a log to the database. I want to monitor messqges
on the queue. So I don't want to purge them. Only notify when they go in and
when they go out.
For the file system there exist a noop property. This actualy doesn't work
for activemq because I get folowwing error:
exception: Failed to create route route1:
Route(route1)[[From[activemq:queue:KBC?noop=true]] -> [proce... because of
Failed to resolve endpoint: activemq://queue:KBC?noop=true due to: Failed to
resolve endpoint: activemq://queue:KBC?noop=true due to: There are 1
parameters that couldn't be set on the endpoint. Check the uri if the
parameters are spelt correctly and that they are properties of the endpoint.
Unknown parameters=[{noop=true}]
So what should I do? What is the variant of noop for activemq?
Thanks
--
View this message in context: http://camel.465427.n5.nabble.com/Failed-to-create-route-on-activemq-tp5764740.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Failed to create route on activemq
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Please use the @user mailing list / user forum for these kind of questions
On Wed, Mar 25, 2015 at 9:55 AM, Jonasty <jo...@gmail.com> wrote:
> I have following code:
>
> context.addRoutes(new RouteBuilder() {
> public void configure() throws JMSException {
> from("activemq:queue:KBC?noop=true").process(new
> QueueProcessor());
> }
> });
>
> The queueprocessor writes a log to the database. I want to monitor messqges
> on the queue. So I don't want to purge them. Only notify when they go in and
> when they go out.
> For the file system there exist a noop property. This actualy doesn't work
> for activemq because I get folowwing error:
>
> exception: Failed to create route route1:
> Route(route1)[[From[activemq:queue:KBC?noop=true]] -> [proce... because of
> Failed to resolve endpoint: activemq://queue:KBC?noop=true due to: Failed to
> resolve endpoint: activemq://queue:KBC?noop=true due to: There are 1
> parameters that couldn't be set on the endpoint. Check the uri if the
> parameters are spelt correctly and that they are properties of the endpoint.
> Unknown parameters=[{noop=true}]
>
> So what should I do? What is the variant of noop for activemq?
> Thanks
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Failed-to-create-route-on-activemq-tp5764740.html
> Sent from the Camel Development mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/