If middleware must be used, consider this:
Licensing costs for middleware is high, unless open source middleware is used.
All development in middleware tends to be expensive. At the very least they require a bunch of servers to provide failover.
Good middleware developers are hard to find and will be even more difficult to find in five years where there is a problem.
It's hard to convince a well rounded Java programmer to become a middleware developer because it can reduce their range of skills over time (aka employability).
You can accomplish the same solution using a generic java program without middleware cost.