Would this be a bad use case of Apache Camel?

ساخت وبلاگ

Vote count: 0

We are implementing a Web Service using Apache Camel that has many (20-50) "direct:" routes calling Java methods. Every method basically has a route to it, whether it's for business rule processing, or DAO access methods.

While this may seem like it decouples the system from the standard Controller->bo->dao layers, it adds unnecessary book keeping of the Camel routes.

A better alternative would just simply be to define Java interfaces for the Business Objects and Dao layers, with an additional interface for any other service (external to the system, like file://, or http://) requests that would be a dependency inside the Business Objects or Controllers.

As a side note, I'm thinking about how to convince my current colleagues to see my point.

Thoughts?

asked 37 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : would this be,would this be acceptable to you,would this be suffice,would this be agreeable to you,would this be of interest to you,would this be possible,would this be ok,would this be of any interest to you,would this be ok with you,would this be suitable for you, نویسنده : استخدام کار backsoft بازدید : 384 تاريخ : يکشنبه 28 شهريور 1395 ساعت: 21:40