ok, I am trying the hello-world example....

first feedback: it compiles fine, but if I put anything into code, it fails
to compile.



> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running ch.netcetera.jbi.tutorial.MySpringComponentTest
> log4j:WARN No appenders could be found for logger
> (org.springframework.core.CollectionFactory).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.155 sec
> <<< FAILURE!
> 

just after including this in the provider skeleton:



>       protected void processInOut(MessageExchange exchange, NormalizedMessage
> in,
>                       NormalizedMessage out) throws Exception {
>               SourceTransformer sourceTransformer = new SourceTransformer();
>               String inMessage = sourceTransformer.toString(in.getContent());
>               out.setContent(new StringSource("<hello>Hello World! Message ["
>                               + inMessage + "] contains [" + 
> inMessage.getBytes().length
>                               + "] bytes</hello>."));
>       }
> 

-- 
View this message in context: 
http://www.nabble.com/step-by-step-BC-tutorial-required-tf3355969s12049.html#a9335157
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to