You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/08/25 08:53:05 UTC

threads(5,10) - spring DSL

Hi,

What is the equivalent in srping DSL of the following java DSL syntax

from("seda:stageName").thread(5,10)

-->

<from uri="seda:stageName"/>
???

Regards,


Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - Karaf - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard

Re: threads(5,10) - spring DSL

Posted by Charles Moulliard <cm...@gmail.com>.
Unfortunately, auto-completion of Eclipse tool does not work fine

When we add the element-name that works but not for the element

ex :

<camel:camelContext> Ok
<camelContext> NOK

I will check the content of the book.

Regards,

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - Karaf - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard


On Wed, Aug 25, 2010 at 8:58 AM, Claus Ibsen <cl...@gmail.com> wrote:

> On Wed, Aug 25, 2010 at 8:53 AM, Charles Moulliard <cm...@gmail.com>
> wrote:
> > Hi,
> >
> > What is the equivalent in srping DSL of the following java DSL syntax
> >
> > from("seda:stageName").thread(5,10)
> >
> > -->
> >
> > <from uri="seda:stageName"/>
> > ???
> >
>
> Use your IDE to help you. Usually you just press ctrl + space and it
> shows what you can type/select.
>
> <threads poolSize="5" maxPollSize="10"/>
>
> Check out 10.3.1 in the Camel book.
>
> > Regards,
> >
> >
> > Charles Moulliard
> >
> > Senior Enterprise Architect (J2EE, .NET, SOA)
> > Apache Camel - Karaf - ServiceMix Committer
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Blog : http://cmoulliard.blogspot.com |  Twitter :
> > http://twitter.com/cmoulliard
> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
> cmoulliard
> >
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>

Re: threads(5,10) - spring DSL

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Aug 25, 2010 at 8:53 AM, Charles Moulliard <cm...@gmail.com> wrote:
> Hi,
>
> What is the equivalent in srping DSL of the following java DSL syntax
>
> from("seda:stageName").thread(5,10)
>
> -->
>
> <from uri="seda:stageName"/>
> ???
>

Use your IDE to help you. Usually you just press ctrl + space and it
shows what you can type/select.

<threads poolSize="5" maxPollSize="10"/>

Check out 10.3.1 in the Camel book.

> Regards,
>
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - Karaf - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter :
> http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus