camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Splitter and camel blueprint syntax
Date Fri, 20 May 2016 04:27:50 GMT
On Thu, May 19, 2016 at 6:11 PM, afbagwe <afbagwe@sandia.gov> wrote:
> I've been searching for an answer to this with Google and have not found a
> satisfactory example.I am trying to set up a Splitter in an camel route
> defined with an OSGi blueprint.I have my own POJO for this task and
> currently using Camel 2.15 that allows using it instead of an aggregation
> strategy. The POJO approach is my most desirable option since I already have
> code that extracts pieces from the middle of the message and re-wraps each
> piece with the original message's outer layers.The POJO has practically the
> same method signature as the example on the official Camel Splitter page:
> public class MessageSplitter{   public List splitMessage(String msg) {...}}
> The problem is I can't find a good example anywhere of how you set the
> splitter's parameters for /strategyRef/ and /strategyRefMethod/ using
> blueprint syntax. All the examples I find do this with Java DSL.
> Any help appreciated.
>

Look in the XSD of the blueprint schema and you can these options.

>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Splitter-and-camel-blueprint-syntax-tp5782792.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message