0

I just tried to make a route with a routing slip:

from("direct:start").routingSlip("myHeader")

Just like it says in the documentation. However, routingSlip(String) is deprecated. Anyone know why?

1 Answer 1

4

Take a look at the javadocs for the method that you're calling. It explains that it's deprecated and which method you should be using instead.

Deprecated. prefer to use routingSlip(org.apache.camel.Expression) instead

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.