Apache Camel: Hiding Middleware APIs

走远了吗. 提交于 2020-01-03 00:54:17

问题


It is related to my previous question.
How does Hiding Middleware APIs work exactly?
Do I have to create interfaces so that they can send message to a serviceURL?
So I can not use proxy interfaces for anything else.Right? I was wondering if I can do some processing in the implementation class and return the result of that to serviceURL.
And If I have 20+ camel routes in my applicationContext.xml,

Would I end up including 20+ interfaces as proxy beans?


May be that's how Camel works. But I didn't expect it to be that way.
I am having a hard time convincing myself that I just have to add some Camel specific Interface Classes.

来源:https://stackoverflow.com/questions/17300004/apache-camel-hiding-middleware-apis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!