camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afbagwe <>
Subject Splitter and camel blueprint syntax
Date Thu, 19 May 2016 16:11:46 GMT
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.

View this message in context:
Sent from the Camel - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message