You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sgomez <sg...@tecsisa.com> on 2007/12/12 10:38:46 UTC

Compatibility between JBI Compliant and Static Configuration Deploy Models

Hi everyone.

I had the idea of using the JBI compliant deploy model for running my
application, and use the Static Configutation deploy model for testing. I
thought it may be possible for my application to use just one set of source
code (i.e. not one source code for the embedded and another for the
standard) and have one servicemix.xml file and the xbean.xml files
necessary.

My problem comes when I try to send exchanges: It seems the JBI compliant
deploy model needs the DeliveryChannel being declared as a @Resource, using
channel.send(exchange) to send exchanges, while the Static Configuration
deploy model just uses send(exchange). I'd like to know if it is possible to
use just one of them for both, so as to not have to differ between executing
using one model or another.

Thanks in advance for your help.
Sebastián Gómez.
-- 
View this message in context: http://www.nabble.com/Compatibility-between-JBI-Compliant-and-Static-Configuration-Deploy-Models-tp14291796s12049p14291796.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.