Hi I think we also chatted about this on the zulip chat room https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/Predicates
On Thu, Jun 30, 2022 at 11:58 AM Steve973 <steve...@gmail.com> wrote: > Hello. I am using the dynamic router EIP component, and I need to send a > subscription message from another JVM, so I am sending the subscription > message as the message body of a JMS message. Unfortunately, Predicates > are not serializable. As a workaround, I could send all of the parameter > values in a POJO, including a header name and header value to be used to > construct a Predicate like "header(headerName).isEqualTo(headerValue)", and > then construct the subscription message at the destination, but this is > limiting in the types of Predicates that may be used to evaluate an > exchange going through the dynamic router to determine exchange > suitability for dynamic routing participants. Is there some way to > serialize a Predicate? > > Thanks, > Steve > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2