[ 
https://issues.apache.org/activemq/browse/SM-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41748#action_41748
 ] 

Freeman Fang commented on SM-1279:
----------------------------------

Hi Ron,

Thanks for your comment.

Agree with we should use more meaningful exception instead of NPE. I will fix 
it in Cxf, create [1] to track it
About auto-selecting the operation, in case of using rpc mode, there is no 
operation info in the JBI wrapper message, so we can't uniquely identify the 
operation.
If you don't want to specify the operation for jbi exchange, you can use 
useJBIWrapper="false" new feature which we address for [2]SM-1242 

[1]https://issues.apache.org/jira/browse/CXF-1484
[2]https://issues.apache.org/activemq/browse/SM-1242
Best Regards

Freeman

> CXF SE throws NPE on receipt of message that does not specify an operation
> --------------------------------------------------------------------------
>
>                 Key: SM-1279
>                 URL: https://issues.apache.org/activemq/browse/SM-1279
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: 3.2.1
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>
> CXF SE throws NPE on receipt of message from an EIP component that does not 
> specify a target operation. In order to reproduce easily, modify the 
> cxf-wsdl-first sample application by adding a servicemix-file SU with a 
> poller/sender and a servicemix-eip:pipeline SU. Wire the file:poller to the 
> eip:pipeline to both the cxf-se endpoint and the file:sender. Then create a 
> file in the file:poller whose contents contains a jbi-wrapped cxf-wsdl-first 
> request. The error generated is identical to the error generated by the 
> following scenario: cxf-bc -> eip:staticRecipientList -> cxf-se. That 
> scenario is described in the following mailing list entry 
> http://www.nabble.com/cxfbc-eip-cxfse-problem-td16026202s12049.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to