On Wed, Dec 28, 2011 at 12:22 PM, diwakar <diwakar.j...@nsn.com> wrote:
> Hi,
>
>           Is "threads" DSL supported in Spring xml?
>           How can the below code from http://camel.apache.org/async.html be
> represented in xml?
> from("jms:queue:order")
>    .to("bean:validateOrder")
>    .to("mock:validate")
>    .threads(20) // How can this be specified in XML?
>

Yes, its easy just type <threads> in your IDE.

See the XSD
http://camel.apache.org/schema/spring

And you can configure your IDE to learn the XSD and do code assistance
for you in the XML editor, so you just press ctrl + space and it popup
a list of XML tags you can use.


> .unmarshal(mySecureDataFormat).delay(1000).to("bean:handleOrder").to("mock:order");
>
>          Does Fuse IDE support threads DSL?

Yes

>          Please let me know your comment.
>
> With Best Regards,
> Diwakar
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Spring-vs-Java-DSL-tp4903423p5105071.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to