Pojo Component
The pojo: component converts Java method invocations into Camel exchanges.
URI format
pojo:someName
Where someName can be any string to uniquely identify the endpoint
Using
Object instance that can receive invocations, must be explicitly registered with the PojoComponent.
Error formatting macro: snippet: java.lang.NullPointerException
Once an endpoint has been registered, you can build Camel routes that use it to process exchanges.
Error formatting macro: snippet: java.lang.NullPointerException
If a pojo: endpoint is defined as the input to the route, then you can look it up and ask it to create a proxy for a given interface. All methods called on that proxy will generate Reflection based exchanges that will be routed by Camel.
Error formatting macro: snippet: java.lang.NullPointerException