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/13 14:13:31 UTC

Error processing exchange InOnly

I am calling inOnly cxf provider from EIP pipeline, getting following error ,  


ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent          
| emix.common.AsyncBaseLifeCycle  512 | Error processing exchange InOnly[
  id: ID:192.168.2.86-12273fcc1b5-4:1
  status: Active
  role: provider
  service:
{http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
  in: <?xml version="1.0"
encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
xmlns:ns1="http:\\Test_BUPA_Create_Update"
xmlns:com="com.ekaplus.commons.document"
xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/><CompanyType/><StandardAddress><Building>#10</Building><Location>10
th Cross,1st Main
Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></StandardAddress><ShippingAddress><Building>#10</Building><Location>#10</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ns1:MT_Input_File_Business_Partner_Create>
]
javax.jbi.messaging.MessagingException: Fault not supported
	at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:366)
	at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:290)
	at
org.apache.servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
	at
org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:261)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
	at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
	at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
	at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


Any Idea on this 

Regards
Brijesh N K
-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by rgavlin <rg...@yahoo.com>.
Hi,

So the transformer for your eip:pipeline is smx-saxon and the target is
cxfbc:provider. That makes perfect sense. 

FYI, you might find it more convenient and concise (2 sus vs. 4) to use
smx-camel for both your routing and xslt transform. smx-saxon can be a bit
heavyweight for a simple transform. Your smx-camel-su camel context might
appear as follows:

<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
    <route>
      <from uri="jbi:endpoint:http://foo.bar.org/MyService/MyEndpoint"/>
      <to uri="xslt:org/apache/camel/spring/processor/example.xsl"/>
      <to
uri="jbi:endpoint:http://SOAP_to_File_BUPA_Create/MI_OBA_SOAP_Input_BUPA_CreateService/MI_OBA_SOAP_Input_BUPA_CreatePort
"/>
    </route>
  </camelContext>

Just a thought.

Best regards,

/Ron


brijesh wrote:
> 
> Hi , 
> 
> My usecase is ,  provide cxf-consumer to get message to servicemix saxon
> and do a transformation using smx-saxon component and provide cxf-provider
> to call the external webservice. Both provider and consumer are async
> webservice , but saxon end point is inOut.  My worflow as follows 
> 
>                                                                  
> |-->smx-saxon
> external client --> cxf-consumer--smx-eippipeline|-->cxf:provider
> 
>  cxf provider and consumers are inOnly MEP but smx-saxon would be inOut
> MEP. When I configure static routing slip I got an error saying that use
> inOut MEP etc., Hence i configured using pipeline, now I am not getting
> the same error. 
> 
> But please advice me If am i doing right way or not?
> 
> Thanks 
> Brijesh N K
> 
> 
> rgavlin wrote:
>> 
>> Greetings,
>> 
>> It is not clear to me why you are attempting to use an EIP pipeline to
>> send an in-only exchange to a one-way cxf-bc provider. The intent of an
>> EIP pipeline is to convert an in-only exchange to an in-out exchange. So,
>> you would only need a pipeline if you wanted to send an in-out exchange
>> to a request/response cxf-bc provider.
>> 
>> /Ron
>> 
>> 
>> 
>> brijesh wrote:
>>> 
>>> I am calling inOnly cxf provider from EIP pipeline, getting following
>>> error ,  
>>> 
>>> 
>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent          
>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange
>>> InOnly[
>>>   id: ID:192.168.2.86-12273fcc1b5-4:1
>>>   status: Active
>>>   role: provider
>>>   service:
>>> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>>   endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>>   in: <?xml version="1.0"
>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>> xmlns:com="com.ekaplus.commons.document"
>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>>> th Cross,1st Main
>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></StandardAddress><ShippingAddress><Building>#10</Building><Location>#10</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ns1:MT_Input_File_Business_Partner_Create>
>>> ]
>>> javax.jbi.messaging.MessagingException: Fault not supported
>>> 	at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:366)
>>> 	at
>>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:290)
>>> 	at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>>> 	at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:261)
>>> 	at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>> 	at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
>>> 	at
>>> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
>>> 	at
>>> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>>> 	at
>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>> 	at
>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>>> 	at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>> 	at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>> Source)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>> 	at java.lang.Thread.run(Unknown Source)
>>> 
>>> 
>>> Any Idea on this 
>>> 
>>> Regards
>>> Brijesh N K
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24476808.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by brijesh <br...@gmail.com>.
Hi , 

My usecase is ,  provide cxf-consumer to get message to servicemix saxon and
do a transformation using smx-saxon component and provide cxf-provider to
call the external webservice. Both provider and consumer are async
webservice , but saxon end point is inOut.  My worflow as follows 

                                                                 
|-->smx-saxon
external client --> cxf-consumer--smx-eippipeline|-->cxf:provider

 cxf provider and consumers are inOnly MEP but smx-saxon would be inOut MEP.
When I configure static routing slip I got an error saying that use inOut
MEP etc., Hence i configured using pipeline, now I am not getting the same
error. 

But please advice me If am i doing right way or not?

Thanks 
Brijesh N K


rgavlin wrote:
> 
> Greetings,
> 
> It is not clear to me why you are attempting to use an EIP pipeline to
> send an in-only exchange to a one-way cxf-bc provider. The intent of an
> EIP pipeline is to convert an in-only exchange to an in-out exchange. So,
> you would only need a pipeline if you wanted to send an in-out exchange to
> a request/response cxf-bc provider.
> 
> /Ron
> 
> 
> 
> brijesh wrote:
>> 
>> I am calling inOnly cxf provider from EIP pipeline, getting following
>> error ,  
>> 
>> 
>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent          
>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange InOnly[
>>   id: ID:192.168.2.86-12273fcc1b5-4:1
>>   status: Active
>>   role: provider
>>   service:
>> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>   endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>   in: <?xml version="1.0"
>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>> xmlns:com="com.ekaplus.commons.document"
>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>> th Cross,1st Main
>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></StandardAddress><ShippingAddress><Building>#10</Building><Location>#10</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ns1:MT_Input_File_Business_Partner_Create>
>> ]
>> javax.jbi.messaging.MessagingException: Fault not supported
>> 	at
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:366)
>> 	at
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:290)
>> 	at
>> org.apache.servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>> 	at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:261)
>> 	at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>> 	at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
>> 	at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
>> 	at
>> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>> 	at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>> 	at
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>> 	at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>> 	at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>> Source)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>> 	at java.lang.Thread.run(Unknown Source)
>> 
>> 
>> Any Idea on this 
>> 
>> Regards
>> Brijesh N K
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24476318.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by rgavlin <rg...@yahoo.com>.
Greetings,

It is not clear to me why you are attempting to use an EIP pipeline to send
an in-only exchange to a one-way cxf-bc provider. The intent of an EIP
pipeline is to convert an in-only exchange to an in-out exchange. So, you
would only need a pipeline if you wanted to send an in-out exchange to a
request/response cxf-bc provider.

/Ron



brijesh wrote:
> 
> I am calling inOnly cxf provider from EIP pipeline, getting following
> error ,  
> 
> 
> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent          
> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange InOnly[
>   id: ID:192.168.2.86-12273fcc1b5-4:1
>   status: Active
>   role: provider
>   service:
> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>   endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>   in: <?xml version="1.0"
> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
> xmlns:ns1="http:\\Test_BUPA_Create_Update"
> xmlns:com="com.ekaplus.commons.document"
> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/><CompanyType/><StandardAddress><Building>#10</Building><Location>10
> th Cross,1st Main
> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></StandardAddress><ShippingAddress><Building>#10</Building><Location>#10</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ns1:MT_Input_File_Business_Partner_Create>
> ]
> javax.jbi.messaging.MessagingException: Fault not supported
> 	at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:366)
> 	at
> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:290)
> 	at
> org.apache.servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
> 	at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:261)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
> 	at
> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> 	at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> 	at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> 
> 
> Any Idea on this 
> 
> Regards
> Brijesh N K
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24476113.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

Yeah, I believe it's a similar issue we need fix in servicemix-camel,  
do you want to create a jira and append your patch? So that our camel  
expert can review and apply it.
Thanks
Freeman
On 2009-7-14, at 下午7:17, Karolis Petrauskas wrote:

> Hi,
>
>    I had similar situation with servicemix-camel component. In my
> case, inOnly message was sent to camel router, then it was converted
> to inOut message and passed to a cxf-bc. In the case, when a target
> service responds with a fault, a similar exception is thrown in
> servicemix. I fixed this locally, but I'm not sure, if this solution
> is a right one. My fix was:
>
> Index: src/main/java/org/apache/servicemix/camel/JbiExchange.java
> ===================================================================
> --- src/main/java/org/apache/servicemix/camel/JbiExchange.java
> (revision 781028)
> +++ src/main/java/org/apache/servicemix/camel/JbiExchange.java   
> (working copy)
> @@ -153,7 +153,12 @@
>
>     @Override
>     protected JbiMessage createFaultMessage() {
> -        return createMessage("fault");
> +        if (messageExchange instanceof InOnly) {
> +            //just create an Camel Message without trying to create a
> matching JBI 'fault' NormalizedMessage
> +            return new JbiMessage();
> +        } else {
> +            return createMessage("fault");
> +        }
>     }
>
>     private JbiMessage createMessage(String name) {
>
> Karolis
> On Mon, Jul 13, 2009 at 4:28 PM, Freeman  
> Fang<fr...@gmail.com> wrote:
>> Hi,
>> Seems this is a bug for me, shouldn't set fault message back for  
>> InOnly
>> exchange pattern.
>> Would you please create a jira ticket for it?
>> Thanks
>> Freeman
>> On 2009-7-13, at 下午8:13, brijesh wrote:
>>
>>>
>>> I am calling inOnly cxf provider from EIP pipeline, getting  
>>> following
>>> error ,
>>>
>>>
>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange  
>>> InOnly[
>>>  id: ID:192.168.2.86-12273fcc1b5-4:1
>>>  status: Active
>>>  role: provider
>>>  service:
>>> {http:// 
>>> SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>>  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>>  in: <?xml version="1.0"
>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>> xmlns:com="com.ekaplus.commons.document"
>>>
>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/ 
>>> ><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/ 
>>> ><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>>> th Cross,1st Main
>>>
>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/ 
>>> ><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</ 
>>> EmailID></StandardAddress><ShippingAddress><Building>#10</ 
>>> Building><Location>#10</Location><City/><PostalCode>560008</ 
>>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com 
>>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/ 
>>> ><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></ 
>>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/ 
>>> ><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ 
>>> ns1:MT_Input_File_Business_Partner_Create>
>>> ]
>>> javax.jbi.messaging.MessagingException: Fault not supported
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi 
>>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java: 
>>> 366)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi 
>>> .messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java: 
>>> 290)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>>>        at
>>> org 
>>> .apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java: 
>>> 261)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 
>>> 554)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common 
>>> .AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common 
>>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java: 
>>> 60)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi 
>>> .messaging 
>>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java: 
>>> 172)
>>>        at
>>>
>>> org 
>>> .apache 
>>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>>        at
>>>
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue 
>>> $1.run(SedaQueue.java:134)
>>>        at java.util.concurrent.ThreadPoolExecutor 
>>> $Worker.runTask(Unknown
>>> Source)
>>>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source)
>>>        at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>> Any Idea on this
>>>
>>> Regards
>>> Brijesh N K
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>
>>
>> --
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Re: Error processing exchange InOnly

Posted by Karolis Petrauskas <k....@gmail.com>.
Hi,

    I had similar situation with servicemix-camel component. In my
case, inOnly message was sent to camel router, then it was converted
to inOut message and passed to a cxf-bc. In the case, when a target
service responds with a fault, a similar exception is thrown in
servicemix. I fixed this locally, but I'm not sure, if this solution
is a right one. My fix was:

Index: src/main/java/org/apache/servicemix/camel/JbiExchange.java
===================================================================
--- src/main/java/org/apache/servicemix/camel/JbiExchange.java
(revision 781028)
+++ src/main/java/org/apache/servicemix/camel/JbiExchange.java  (working copy)
@@ -153,7 +153,12 @@

     @Override
     protected JbiMessage createFaultMessage() {
-        return createMessage("fault");
+        if (messageExchange instanceof InOnly) {
+            //just create an Camel Message without trying to create a
matching JBI 'fault' NormalizedMessage
+            return new JbiMessage();
+        } else {
+            return createMessage("fault");
+        }
     }

     private JbiMessage createMessage(String name) {

Karolis
On Mon, Jul 13, 2009 at 4:28 PM, Freeman Fang<fr...@gmail.com> wrote:
> Hi,
> Seems this is a bug for me, shouldn't set fault message back for InOnly
> exchange pattern.
> Would you please create a jira ticket for it?
> Thanks
> Freeman
> On 2009-7-13, at 下午8:13, brijesh wrote:
>
>>
>> I am calling inOnly cxf provider from EIP pipeline, getting following
>> error ,
>>
>>
>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange InOnly[
>>  id: ID:192.168.2.86-12273fcc1b5-4:1
>>  status: Active
>>  role: provider
>>  service:
>> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>  in: <?xml version="1.0"
>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>> xmlns:com="com.ekaplus.commons.document"
>>
>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>> th Cross,1st Main
>>
>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></StandardAddress><ShippingAddress><Building>#10</Building><Location>#10</Location><City/><PostalCode>560008</PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ns1:MT_Input_File_Business_Partner_Create>
>> ]
>> javax.jbi.messaging.MessagingException: Fault not supported
>>        at
>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:366)
>>        at
>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:290)
>>        at
>>
>> org.apache.servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>>        at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:261)
>>        at
>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>        at
>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
>>        at
>>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
>>        at
>>
>> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>>        at
>>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>        at
>>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>>        at
>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>        at
>>
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>> Source)
>>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>> Source)
>>        at java.lang.Thread.run(Unknown Source)
>>
>>
>> Any Idea on this
>>
>> Regards
>> Brijesh N K
>> --
>> View this message in context:
>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com

Re: Error processing exchange InOnly

Posted by brijesh <br...@gmail.com>.
Freeman, 

thanks for the clarification. 

regards
Brijesh N K



Freeman Fang wrote:
> 
> Hi,
> 
> The exception will occur only if oneway cxf provider encountor problem  
> when sent out message, and this exception will be ignored and harmless  
> since it's InOnly MessageExchange.
> Anyway, we need avoid setting fault message to InOnly.
> Freeman
> 
> On 2009-7-14, at 下午3:24, brijesh wrote:
> 
>>
>> Freeam,
>>
>> This exception will occur only,  if cxf provider gets fault message,  
>> am I
>> right?
>>
>> regards
>> Brijesh N K
>>
>>
>>
>> brijesh wrote:
>>>
>>> Hi Freeman,
>>>
>>> thanks for the reponse, I will create a jira and assign to you.
>>>
>>>
>>> thanks & regards
>>> Brijesh N K
>>>
>>>
>>> Freeman Fang wrote:
>>>>
>>>> Hi,
>>>> Seems this is a bug for me, shouldn't set fault message back for
>>>> InOnly exchange pattern.
>>>> Would you please create a jira ticket for it?
>>>> Thanks
>>>> Freeman
>>>> On 2009-7-13, at 下午8:13, brijesh wrote:
>>>>
>>>>>
>>>>> I am calling inOnly cxf provider from EIP pipeline, getting
>>>>> following error ,
>>>>>
>>>>>
>>>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>>>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange
>>>>> InOnly[
>>>>> id: ID:192.168.2.86-12273fcc1b5-4:1
>>>>> status: Active
>>>>> role: provider
>>>>> service:
>>>>> {http:// 
>>>>> SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>>>> endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>>>> in: <?xml version="1.0"
>>>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>>>> xmlns:com="com.ekaplus.commons.document"
>>>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/
>>>>>> <ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/
>>>>>> <CompanyType/><StandardAddress><Building>#10</ 
>>>>>> Building><Location>10
>>>>> th Cross,1st Main
>>>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/ 
>>>>> ><Country/
>>>>>> <Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></
>>>>> StandardAddress><ShippingAddress><Building>#10</
>>>>> Building><Location>#10</Location><City/><PostalCode>560008</
>>>>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com
>>>>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/
>>>>>> <BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></
>>>>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/
>>>>>> <BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></
>>>>> ns1:MT_Input_File_Business_Partner_Create>
>>>>> ]
>>>>> javax.jbi.messaging.MessagingException: Fault not supported
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .jbi
>>>>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:
>>>>> 366)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .jbi 
>>>>> .messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:
>>>>> 290)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java: 
>>>>> 277)
>>>>> 	at
>>>>> org 
>>>>> .apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:
>>>>> 261)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
>>>>> 554)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .common 
>>>>> .AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:
>>>>> 510)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .common
>>>>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java: 
>>>>> 60)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix
>>>>> .jbi
>>>>> .messaging
>>>>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java: 
>>>>> 172)
>>>>> 	at
>>>>> org
>>>>> .apache
>>>>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>>>> 	at
>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
>>>>> $1.run(SedaQueue.java:134)
>>>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>>> Source)
>>>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown  
>>>>> Source)
>>>>> 	at java.lang.Thread.run(Unknown Source)
>>>>>
>>>>>
>>>>> Any Idea on this
>>>>>
>>>>> Regards
>>>>> Brijesh N K
>>>>> -- 
>>>>> View this message in context:
>>>>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>
>>>>
>>>>
>>>> -- 
>>>> Freeman Fang
>>>> ------------------------
>>>> Open Source SOA: http://fusesource.com
>>>>
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24474852.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24475081.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

The exception will occur only if oneway cxf provider encountor problem  
when sent out message, and this exception will be ignored and harmless  
since it's InOnly MessageExchange.
Anyway, we need avoid setting fault message to InOnly.
Freeman

On 2009-7-14, at 下午3:24, brijesh wrote:

>
> Freeam,
>
> This exception will occur only,  if cxf provider gets fault message,  
> am I
> right?
>
> regards
> Brijesh N K
>
>
>
> brijesh wrote:
>>
>> Hi Freeman,
>>
>> thanks for the reponse, I will create a jira and assign to you.
>>
>>
>> thanks & regards
>> Brijesh N K
>>
>>
>> Freeman Fang wrote:
>>>
>>> Hi,
>>> Seems this is a bug for me, shouldn't set fault message back for
>>> InOnly exchange pattern.
>>> Would you please create a jira ticket for it?
>>> Thanks
>>> Freeman
>>> On 2009-7-13, at 下午8:13, brijesh wrote:
>>>
>>>>
>>>> I am calling inOnly cxf provider from EIP pipeline, getting
>>>> following error ,
>>>>
>>>>
>>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange
>>>> InOnly[
>>>> id: ID:192.168.2.86-12273fcc1b5-4:1
>>>> status: Active
>>>> role: provider
>>>> service:
>>>> {http:// 
>>>> SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>>> endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>>> in: <?xml version="1.0"
>>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>>> xmlns:com="com.ekaplus.commons.document"
>>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/
>>>>> <ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/
>>>>> <CompanyType/><StandardAddress><Building>#10</ 
>>>>> Building><Location>10
>>>> th Cross,1st Main
>>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/ 
>>>> ><Country/
>>>>> <Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></
>>>> StandardAddress><ShippingAddress><Building>#10</
>>>> Building><Location>#10</Location><City/><PostalCode>560008</
>>>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com
>>>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/
>>>>> <BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></
>>>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/
>>>>> <BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></
>>>> ns1:MT_Input_File_Business_Partner_Create>
>>>> ]
>>>> javax.jbi.messaging.MessagingException: Fault not supported
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .jbi
>>>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:
>>>> 366)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .jbi 
>>>> .messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:
>>>> 290)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java: 
>>>> 277)
>>>> 	at
>>>> org 
>>>> .apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:
>>>> 261)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
>>>> 554)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .common 
>>>> .AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:
>>>> 510)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .common
>>>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java: 
>>>> 60)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix
>>>> .jbi
>>>> .messaging
>>>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java: 
>>>> 172)
>>>> 	at
>>>> org
>>>> .apache
>>>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>>> 	at
>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
>>>> $1.run(SedaQueue.java:134)
>>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>> Source)
>>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown  
>>>> Source)
>>>> 	at java.lang.Thread.run(Unknown Source)
>>>>
>>>>
>>>> Any Idea on this
>>>>
>>>> Regards
>>>> Brijesh N K
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>> -- 
>>> Freeman Fang
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>>
>>>
>>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24474852.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Re: Error processing exchange InOnly

Posted by brijesh <br...@gmail.com>.
Freeam, 

This exception will occur only,  if cxf provider gets fault message, am I
right?

regards
Brijesh N K



brijesh wrote:
> 
> Hi Freeman, 
> 
> thanks for the reponse, I will create a jira and assign to you. 
> 
> 
> thanks & regards
> Brijesh N K
> 
> 
> Freeman Fang wrote:
>> 
>> Hi,
>> Seems this is a bug for me, shouldn't set fault message back for  
>> InOnly exchange pattern.
>> Would you please create a jira ticket for it?
>> Thanks
>> Freeman
>> On 2009-7-13, at 下午8:13, brijesh wrote:
>> 
>>>
>>> I am calling inOnly cxf provider from EIP pipeline, getting  
>>> following error ,
>>>
>>>
>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange  
>>> InOnly[
>>>  id: ID:192.168.2.86-12273fcc1b5-4:1
>>>  status: Active
>>>  role: provider
>>>  service:
>>> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>>  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>>  in: <?xml version="1.0"
>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>> xmlns:com="com.ekaplus.commons.document"
>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/ 
>>> ><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/ 
>>> ><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>>> th Cross,1st Main
>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/ 
>>> ><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ 
>>> StandardAddress><ShippingAddress><Building>#10</ 
>>> Building><Location>#10</Location><City/><PostalCode>560008</ 
>>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com 
>>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/ 
>>> ><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></ 
>>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/ 
>>> ><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ 
>>> ns1:MT_Input_File_Business_Partner_Create>
>>> ]
>>> javax.jbi.messaging.MessagingException: Fault not supported
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi 
>>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java: 
>>> 366)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java: 
>>> 290)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>>> 	at
>>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java: 
>>> 261)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 
>>> 554)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java: 
>>> 510)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .common 
>>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix 
>>> .jbi 
>>> .messaging 
>>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>>> 	at
>>> org 
>>> .apache 
>>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>> 	at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue 
>>> $1.run(SedaQueue.java:134)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown  
>>> Source)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>> 	at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>> Any Idea on this
>>>
>>> Regards
>>> Brijesh N K
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>> 
>> 
>> -- 
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24474852.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
FYI, I've create jira ticket[1] to track this issue
[1]https://issues.apache.org/activemq/browse/SMXCOMP-589

Freeman
On 2009-7-14, at 上午11:14, brijesh wrote:

>
> Hi Freeman,
>
> thanks for the reponse, I will create a jira and assign to you.
>
>
> thanks & regards
> Brijesh N K
>
>
> Freeman Fang wrote:
>>
>> Hi,
>> Seems this is a bug for me, shouldn't set fault message back for
>> InOnly exchange pattern.
>> Would you please create a jira ticket for it?
>> Thanks
>> Freeman
>> On 2009-7-13, at 下午8:13, brijesh wrote:
>>
>>>
>>> I am calling inOnly cxf provider from EIP pipeline, getting
>>> following error ,
>>>
>>>
>>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange
>>> InOnly[
>>> id: ID:192.168.2.86-12273fcc1b5-4:1
>>> status: Active
>>> role: provider
>>> service:
>>> {http:// 
>>> SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>> endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>> in: <?xml version="1.0"
>>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>>> xmlns:com="com.ekaplus.commons.document"
>>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/
>>>> <ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/
>>>> <CompanyType/><StandardAddress><Building>#10</Building><Location>10
>>> th Cross,1st Main
>>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/
>>>> <Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></
>>> StandardAddress><ShippingAddress><Building>#10</
>>> Building><Location>#10</Location><City/><PostalCode>560008</
>>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com
>>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/
>>>> <BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></
>>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/
>>>> <BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></
>>> ns1:MT_Input_File_Business_Partner_Create>
>>> ]
>>> javax.jbi.messaging.MessagingException: Fault not supported
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .jbi
>>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java:
>>> 366)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .jbi 
>>> .messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java:
>>> 290)
>>> 	at
>>> org
>>> .apache
>>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>>> 	at
>>> org 
>>> .apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:
>>> 261)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
>>> 554)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .common 
>>> .AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:
>>> 510)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .common
>>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java: 
>>> 60)
>>> 	at
>>> org
>>> .apache
>>> .servicemix
>>> .jbi
>>> .messaging
>>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>>> 	at
>>> org
>>> .apache
>>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java: 
>>> 172)
>>> 	at
>>> org
>>> .apache
>>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>>> 	at
>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
>>> $1.run(SedaQueue.java:134)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>> Source)
>>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown  
>>> Source)
>>> 	at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>> Any Idea on this
>>>
>>> Regards
>>> Brijesh N K
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>
>>
>> -- 
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24472978.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Re: Error processing exchange InOnly

Posted by brijesh <br...@gmail.com>.
Hi Freeman, 

thanks for the reponse, I will create a jira and assign to you. 


thanks & regards
Brijesh N K


Freeman Fang wrote:
> 
> Hi,
> Seems this is a bug for me, shouldn't set fault message back for  
> InOnly exchange pattern.
> Would you please create a jira ticket for it?
> Thanks
> Freeman
> On 2009-7-13, at 下午8:13, brijesh wrote:
> 
>>
>> I am calling inOnly cxf provider from EIP pipeline, getting  
>> following error ,
>>
>>
>> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
>> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange  
>> InOnly[
>>  id: ID:192.168.2.86-12273fcc1b5-4:1
>>  status: Active
>>  role: provider
>>  service:
>> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>>  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>>  in: <?xml version="1.0"
>> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
>> xmlns:ns1="http:\\Test_BUPA_Create_Update"
>> xmlns:com="com.ekaplus.commons.document"
>> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/ 
>> ><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/ 
>> ><CompanyType/><StandardAddress><Building>#10</Building><Location>10
>> th Cross,1st Main
>> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/ 
>> ><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ 
>> StandardAddress><ShippingAddress><Building>#10</ 
>> Building><Location>#10</Location><City/><PostalCode>560008</ 
>> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com 
>> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/ 
>> ><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></ 
>> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/ 
>> ><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ 
>> ns1:MT_Input_File_Business_Partner_Create>
>> ]
>> javax.jbi.messaging.MessagingException: Fault not supported
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .jbi 
>> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java: 
>> 366)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java: 
>> 290)
>> 	at
>> org 
>> .apache 
>> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
>> 	at
>> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java: 
>> 261)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 
>> 554)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java: 
>> 510)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .common 
>> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>> 	at
>> org 
>> .apache 
>> .servicemix 
>> .jbi 
>> .messaging 
>> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
>> 	at
>> org 
>> .apache 
>> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>> 	at
>> org 
>> .apache 
>> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>> 	at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue 
>> $1.run(SedaQueue.java:134)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown  
>> Source)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>> 	at java.lang.Thread.run(Unknown Source)
>>
>>
>> Any Idea on this
>>
>> Regards
>> Brijesh N K
>> -- 
>> View this message in context:
>> http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24472978.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Error processing exchange InOnly

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Seems this is a bug for me, shouldn't set fault message back for  
InOnly exchange pattern.
Would you please create a jira ticket for it?
Thanks
Freeman
On 2009-7-13, at 下午8:13, brijesh wrote:

>
> I am calling inOnly cxf provider from EIP pipeline, getting  
> following error ,
>
>
> ERROR | pool-flow.seda.servicemix-cxf-bc-thread-1 | CxfBcComponent
> | emix.common.AsyncBaseLifeCycle  512 | Error processing exchange  
> InOnly[
>  id: ID:192.168.2.86-12273fcc1b5-4:1
>  status: Active
>  role: provider
>  service:
> {http://SOAP_to_File_BUPA_Create}MI_OBA_SOAP_Input_BUPA_CreateService
>  endpoint: MI_OBA_SOAP_Input_BUPA_CreatePort
>  in: <?xml version="1.0"
> encoding="UTF-8"?><ns1:MT_Input_File_Business_Partner_Create
> xmlns:ns1="http:\\Test_BUPA_Create_Update"
> xmlns:com="com.ekaplus.commons.document"
> xmlns:not="http://www.ekaplus.com/NotifyEvent/"><ProfileID/ 
> ><ExtRefID/><CompanyLongName1/><CompanyLongName2/><GroupName/ 
> ><CompanyType/><StandardAddress><Building>#10</Building><Location>10
> th Cross,1st Main
> Rd</Location><City/><PostalCode>560008</PostalCode><State/><Country/ 
> ><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com</EmailID></ 
> StandardAddress><ShippingAddress><Building>#10</ 
> Building><Location>#10</Location><City/><PostalCode>560008</ 
> PostalCode><State/><Country/><Phone/><Fax/><EmailID>vengatesan.balusamy@ekaplus.com 
> </EmailID></ShippingAddress><BankDetails1><BankID/><BankCountry/ 
> ><BankKey/><BankAccountNo/><AccountHolderName/><IBAN/></ 
> BankDetails1><BankDetails2><BankID/><BankCountry/><BankKey/ 
> ><BankAccountNo/><AccountHolderName/><IBAN/></BankDetails2></ 
> ns1:MT_Input_File_Business_Partner_Create>
> ]
> javax.jbi.messaging.MessagingException: Fault not supported
> 	at
> org 
> .apache 
> .servicemix 
> .jbi 
> .messaging.MessageExchangeImpl.setMessage(MessageExchangeImpl.java: 
> 366)
> 	at
> org 
> .apache 
> .servicemix 
> .jbi.messaging.MessageExchangeImpl.setFault(MessageExchangeImpl.java: 
> 290)
> 	at
> org 
> .apache 
> .servicemix.cxfbc.CxfBcProvider.faultProcess(CxfBcProvider.java:277)
> 	at
> org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java: 
> 261)
> 	at
> org 
> .apache 
> .servicemix 
> .common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> 	at
> org 
> .apache 
> .servicemix 
> .common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java: 
> 554)
> 	at
> org 
> .apache 
> .servicemix 
> .common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java: 
> 510)
> 	at
> org 
> .apache 
> .servicemix 
> .common 
> .SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> 	at
> org 
> .apache 
> .servicemix 
> .jbi 
> .messaging 
> .DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> 	at
> org 
> .apache 
> .servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at
> org 
> .apache 
> .servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue 
> $1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown  
> Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
>
>
> Any Idea on this
>
> Regards
> Brijesh N K
> -- 
> View this message in context: http://www.nabble.com/Error-processing-exchange-InOnly-tp24460613p24460613.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com