You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/07/21 22:43:19 UTC
MEP exception
Hello ,
I have workflow as follows
|-->smx-saxon
|-->cbr-->static rcpt--|-->cxf-bc(provider)
externalClient --> smx-cxf(consumer)-->smx-eip|
|
Above workflow smx-cxf(consumer), is in-only(inOnly) parameter ie,
asynchronised webservice. But
cxf-bc(provider) has in-out parameter. This webservice is synchronised
webservice. Between I have eip configured to pass the message through
content based router and saxon transformation also.
When I am executing this workflow I get the following error.
illegal state exceptin use and in-Only MEP??
thanks & Regards
Brijesh N K
--
View this message in context: http://www.nabble.com/MEP-exception-tp24595416p24595416.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: MEP exception
Posted by Madesclair Vivian <vm...@sopragroup.com>.
I find the Camel documentation well done, better than the servicemix one anyway. I like the way they put many link in their page to relative ressources.
You can find in servicemix tutorials, one about camel [1]
Basically, I think you use normal servicemix endpoint into camel, except for the inputs, you use JMS queues and Camel will read them.
I used that to start to implement my usecase, but I don't know when I'll be able to test it. Today I'll have other things to do. I'll keep you updated (and I hope you'll keep me updated too ;)
Regards,
Vivian
[1] : http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html
-----Message d'origine-----
De : brijesh [mailto:brijeshnk@gmail.com]
Envoyé : jeudi 23 juillet 2009 08:35
À : users@servicemix.apache.org
Objet : RE: MEP exception
Hi Vivan,
Thanks for the response, I am looking into camel too. But not finding much documentation or samples, If you have some links for camel samples in servicemix , please forward .
thanks
Brijesh N K
Madesclair Vivian wrote:
>
> Hello,
>
> I don't understand your flow. (I barely do in email, it is hard to
> transcript a flow with letter I guess)
>
> My advise to you : make a scheme with double arrows for InOut and simple
> arrow for InOnly, you will see immediatly where is the inconsistancy.
>
> You can use an eip:asyncBridge to transform InOut to InOnly (synchronous
> to asynchronous) then do your integration patterns, then use pipeline to
> call InOut stuff.
>
> I am just starting to check Camel, so I don't really know if camel can
> handle transformation from synchronous to asynchronous and back, but I was
> told that eip is deprecated so you should use camel for everything else.
>
> Regards
> Vivian
>
>
> -----Message d'origine-----
> De : brijesh [mailto:brijeshnk@gmail.com]
> Envoyé : mardi 21 juillet 2009 22:43
> À : users@servicemix.apache.org
> Objet : MEP exception
>
>
> Hello ,
>
> I have workflow as follows
> |-->smx-saxon
>
> |-->cbr-->static rcpt--|-->cxf-bc(provider)
> externalClient --> smx-cxf(consumer)-->smx-eip|
> | Above
> workflow smx-cxf(consumer), is in-only(inOnly) parameter ie, asynchronised
> webservice. But
> cxf-bc(provider) has in-out parameter. This webservice is synchronised
> webservice. Between I have eip configured to pass the message through
> content based router and saxon transformation also.
>
> When I am executing this workflow I get the following error.
>
> illegal state exceptin use and in-Only MEP??
>
>
>
> thanks & Regards
> Brijesh N K
> --
> View this message in context:
> http://www.nabble.com/MEP-exception-tp24595416p24595416.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/MEP-exception-tp24595416p24620093.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: MEP exception
Posted by brijesh <br...@gmail.com>.
Hi Vivan,
Thanks for the response, I am looking into camel too. But not finding much
documentation or samples, If you have some links for camel samples in
servicemix , please forward .
thanks
Brijesh N K
Madesclair Vivian wrote:
>
> Hello,
>
> I don't understand your flow. (I barely do in email, it is hard to
> transcript a flow with letter I guess)
>
> My advise to you : make a scheme with double arrows for InOut and simple
> arrow for InOnly, you will see immediatly where is the inconsistancy.
>
> You can use an eip:asyncBridge to transform InOut to InOnly (synchronous
> to asynchronous) then do your integration patterns, then use pipeline to
> call InOut stuff.
>
> I am just starting to check Camel, so I don't really know if camel can
> handle transformation from synchronous to asynchronous and back, but I was
> told that eip is deprecated so you should use camel for everything else.
>
> Regards
> Vivian
>
>
> -----Message d'origine-----
> De : brijesh [mailto:brijeshnk@gmail.com]
> Envoyé : mardi 21 juillet 2009 22:43
> À : users@servicemix.apache.org
> Objet : MEP exception
>
>
> Hello ,
>
> I have workflow as follows
> |-->smx-saxon
>
> |-->cbr-->static rcpt--|-->cxf-bc(provider)
> externalClient --> smx-cxf(consumer)-->smx-eip|
> | Above
> workflow smx-cxf(consumer), is in-only(inOnly) parameter ie, asynchronised
> webservice. But
> cxf-bc(provider) has in-out parameter. This webservice is synchronised
> webservice. Between I have eip configured to pass the message through
> content based router and saxon transformation also.
>
> When I am executing this workflow I get the following error.
>
> illegal state exceptin use and in-Only MEP??
>
>
>
> thanks & Regards
> Brijesh N K
> --
> View this message in context:
> http://www.nabble.com/MEP-exception-tp24595416p24595416.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/MEP-exception-tp24595416p24620093.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: MEP exception
Posted by Madesclair Vivian <vm...@sopragroup.com>.
Hello,
I don't understand your flow. (I barely do in email, it is hard to transcript a flow with letter I guess)
My advise to you : make a scheme with double arrows for InOut and simple arrow for InOnly, you will see immediatly where is the inconsistancy.
You can use an eip:asyncBridge to transform InOut to InOnly (synchronous to asynchronous) then do your integration patterns, then use pipeline to call InOut stuff.
I am just starting to check Camel, so I don't really know if camel can handle transformation from synchronous to asynchronous and back, but I was told that eip is deprecated so you should use camel for everything else.
Regards
Vivian
-----Message d'origine-----
De : brijesh [mailto:brijeshnk@gmail.com]
Envoyé : mardi 21 juillet 2009 22:43
À : users@servicemix.apache.org
Objet : MEP exception
Hello ,
I have workflow as follows
|-->smx-saxon
|-->cbr-->static rcpt--|-->cxf-bc(provider)
externalClient --> smx-cxf(consumer)-->smx-eip|
| Above workflow smx-cxf(consumer), is in-only(inOnly) parameter ie, asynchronised webservice. But
cxf-bc(provider) has in-out parameter. This webservice is synchronised webservice. Between I have eip configured to pass the message through content based router and saxon transformation also.
When I am executing this workflow I get the following error.
illegal state exceptin use and in-Only MEP??
thanks & Regards
Brijesh N K
--
View this message in context: http://www.nabble.com/MEP-exception-tp24595416p24595416.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.