So, make sure you can do HTTP -> BEAN -> anythign else.
It looks like your bean code is not correct as you need to create a new
exchange to send to the next endpoint.  An exchange can only be used between
two components and can not be reused.

On 9/18/07, ICAR <[EMAIL PROTECTED]> wrote:
>
>
> We try this solution but we have the same problem.
> We have the last version of servicemix (3.2) and the last of camel.
> If we have the following configuration, we don't have error:
>
> HTTP --> CAMEL ---------------------- OK
>
> Instead, when we want to pass from BEAN, we have the error.
>
> HTTP --> BEAN --> CAMEL ------------ ERROR
>
> Thanks
>
>
> gnodet wrote:
> >
> > Can you try to use
> >   from("jbi:endpoint:
> > http://icar.unibas.it/FreESBee/FiltroAutenticazione/endpoint";)
> > instead ?
> >
> > On 9/18/07, ICAR <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> I upload the java class because I have problem with spam.
> >> The IdentificazionePortaDelegata.java set the sender properties to the
> >> message.
> >> The FiltroAutenticazione.java is my camel class.
> >> Thanks for reply
> >> http://www.nabble.com/file/p12753905/FiltroAutenticazione.java
> >> FiltroAutenticazione.java
> >> http://www.nabble.com/file/p12753905/IdentificazionePortaDelegata.java
> >> IdentificazionePortaDelegata.java
> >>
> >>
> >> gnodet wrote:
> >> >
> >> > What are your camel routes and what does your servicemix-bean
> endpoint
> >> do
> >> > ?
> >> > What is the FiltroAutenticazione endpoint ?
> >> >
> >> >
> >> > On 9/18/07, ICAR <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> Hi.. We have a little/big problem with servicemix and camel.
> >> >> We have the following configuration:
> >> >>
> >> >> HTTP SERVICE UNIT (xbean.xml)
> >> >>
> >> >>     <http:endpoint service="frsb:HttpZZZ"
> >> >>                    endpoint="endpointZZZ"
> >> >>                    targetService="frsb:BeanIdentZZZ"
> >> >>                    role="consumer"
> >> >>                    locationURI="localhost/PortaDelegata/"
> >> >>                    defaultMep="...../in-out"
> >> >>                    soap="true" >
> >> >>     </http:endpoint>
> >> >>
> >> >>
> >> >> BEAN SERVICE UNIT (xbean.xml)
> >> >>
> >> >>     <bean:endpoint service="frsb:BeanIdentZZZ" endpoint="endpoint"
> >> >> bean="#beanIdentZZZ"/>
> >> >>     <bean id="beanIdentZZZ" class="it.unibas.icar.freesbee.IdentZZZ
> "/>
> >> >>
> >> >> CAMEL CONFIGURATION (camel-context.xml)
> >> >>
> >> >>     <camelContext  xmlns=".....">
> >> >>         <package>it.unibas.icar.freesbee</package>
> >> >>     </camelContext>
> >> >>
> >> >>
> >> >> So we want that the message have the  following turn
> >> >>
> >> >> frsb:HttpZZZ -> frsb:BeanIdentZZZ -> frsb:CamelZZZ
> >> >>
> >> >> but when we perform a request at http endpoint, the message gone at
> >> >> frsb:BeanIdentZZZ correctly and then
> >> >>
> >> >> ERROR - BeanComponent                  - Error processing exchange
> >> InOut[
> >> >>   id: ID:192.168.1.3-115141d0854-12:4
> >> >>   status: Done
> >> >>   role: provider
> >> >>   service: {.....}BeanIdentZZZ
> >> >>   endpoint: endpoint
> >> >>   operation: ...
> >> >>   in: ....
> >> >> ]
> >> >> java.lang.IllegalStateException: Endpoint not found: {..../FreE
> >> >> SBee}FiltroAutenticazione:endpoint
> >> >>
> >> >> can you help us?
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/ServiceMix-and-camel-problem-tf4472445s12049.html#a12752035
> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Guillaume Nodet
> >> > ------------------------
> >> > Blog: http://gnodet.blogspot.com/
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/ServiceMix-and-camel-problem-tf4472445s12049.html#a12753905
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ServiceMix-and-camel-problem-tf4472445s12049.html#a12754840
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to