rb2399,
Before we start: are you sure you want to be building your own SE's --
take a look at this FAQ entry
http://incubator.apache.org/servicemix/should-i-create-my-own-jbi-components.html
If you just want to receive messages using HTTP and write a block of
java code to handle them (or use any of the other available SEs like
drools, saxon XSL-T, ...), you can just write xbean.xml file to
configure your service units to do so.
If you're deploying SA (containing SU), they should contain an xbean.xml
file (the only exception is servicemix-lwcontainer, which requires you
to write servicemix.xml files). You only need to update
conf/servicemix.xml if you're running ServiceMix in embedded/lightweight
mode.
Regards,
Gert
rb2399 wrote:
Hi All,
I am new to JBI and SM world.I am trying to run a sample example like:
HTTP BC --> SE1 (Just appends the payload received from HTTP BC) -- >SE 2
(receives the msg & displays it)
I've defined SE 1 as in-only & so is SE2 also.I'm having problems with
exception "ould not find route for exchange" when SM routes it from SE1 to
SE2. I've followed the hello world SE example for defining xbean.xml.Do I
need to update the servicemix.xml also with activationspec.
Sorry if I've repeated the question,but I'm totally lost here.
Thanks in advance,
rb2399