You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cvancal <cv...@gmail.com> on 2012/07/23 17:06:13 UTC

Camel 2.10 eagerMaxMessagesPerPoll

I am trying to use the File component with the following properties:

maxMessagesPerPoll=1
eagerMaxMessagesPerPoll=false

but when I deploy I am getting:

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=[{eagerMaxMessagesPerPoll=false}]
 
Any thoughts?

Thanks

Curt



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-10-eagerMaxMessagesPerPoll-tp5716342.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.10 eagerMaxMessagesPerPoll

Posted by cvancal <cv...@gmail.com>.
I am going to note this as a dependency issue on my end.  I have fixed it and
is working great.

Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-10-eagerMaxMessagesPerPoll-not-working-tp5716342p5716462.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.10 eagerMaxMessagesPerPoll

Posted by Christian Müller <ch...@gmail.com>.
Sure?

We have a unit test [1] which works.

[1]
https://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeNotEagerMaxMessagesPerPollTest.java

Best,
Christian

On Mon, Jul 23, 2012 at 5:06 PM, cvancal <cv...@gmail.com> wrote:

> I am trying to use the File component with the following properties:
>
> maxMessagesPerPoll=1
> eagerMaxMessagesPerPoll=false
>
> but when I deploy I am getting:
>
> 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=[{eagerMaxMessagesPerPoll=false}]
>
> Any thoughts?
>
> Thanks
>
> Curt
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-2-10-eagerMaxMessagesPerPoll-tp5716342.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>