[
https://issues.apache.org/activemq/browse/SM-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41746#action_41746
]
Torsten Mielke commented on SM-1279:
------------------------------------
I was able to reproduce this error and found a workaround/fix that is to add
the operation name in the eip configuration (xbean.xml):
<eip:static-recipient-list service="person:srl" endpoint="endpoint">
<eip:recipients>
<eip:exchange-target service="person:PersonService" interface="person:Person"
*operation="person:greetMeOneWay"* />
<eip:exchange-target service="test:jmsWiretapOut" />
</eip:recipients>
</eip:static-recipient-list>
That should avoid the NullPointerException.
> 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.