2016-04-30 11 views
0

以下のMuleフローがあります。私が達成しようとしているのは、単純にSOAPメッセージをJMSキューに入れることです。Muleを使用してSOAP WebサービスペイロードをJMSに挿入

JMSキュー内のメッセージの内容は、

[email protected] 

私は変圧器で何をしないのですのですか?

<object-to-string-transformer name="Object_to_String" doc:name="Object to String"/> 

<flow name="soapServiceFlow"> 

    <http:listener config-ref="SOAP_JMS_HTTP_Listener_Configuration" path="/soap" doc:name="HTTP"/> 

    <cxf:proxy-service 
    configuration-ref="CXF_Configuration" 
    doc:name="CXF" 
    payload="envelope" 
    wsdlLocation="service.wsdl" 
    namespace="http://www.examples.com/wsdl/ReportService" 
    port="ReportPort" 
    service="ReportService" /> 
    <logger message="#[payload]" level="INFO" doc:name="Logger"/> 
    <jms:outbound-endpoint queue="my.requests" connector-ref="Active_MQ" doc:name="JMS" transformer-refs="Object_to_String"> 
     <jms:transaction action="NONE"/> 
    </jms:outbound-endpoint> 
</flow> 

答えて

0

これは、変換誤差であり、あなたは単にそれを動作させるためにobject-to-string-transformerを使用することができます - あなたのJMS前

<object-to-string-transformer doc:name="Object to String"/> 

アウトバウンド

+0

例外はなくなりました。しかし今、私のJMSメッセージの詳細は次のとおりです:[email protected]そこに実際のSOAPメッセージを入れることは可能ですか? – Pablo

+0

あなたのコメントごとに新しいフローを表示するための質問を編集しました。 – Pablo

0

ロガーする前に、あなたが見ることのために<object-to-string-transformer doc:name="Object to String"/>を追加クラスの文字列内容[email protected]

関連する問題