WSO2 ESB message identifier

Can I find a message on the WSO2 ESB MessageId, for example urn: uuid: e11893c5-b033-4e99-9473-a43d66b65fbb? For example, if some thread failed, and the server registered such an identifier.

+4
source share
3 answers

Marjan,

The ESB itself does not log messages anywhere until you report it.

a) . The first approach is to write incoming and outgoing messages to the log using the log broker:

<proxy xmlns="http://ws.apache.org/ns/synapse" name="YourProxyService" transports="https http" startOnLoad="true">
<target>
    <inSequence>
        <log level="full">
           <property name="MESSAGE_ID" expression="get-property('MessageID')"/>
        </log>
         ...
    </inSequence>
    <outSequence>
        <log level="full">
           <property name="MESSAGE_ID" expression="get-property('MessageID')"/>
        </log>
         ...
    </outSequence>
</target>
</proxy>

Then you can find your incoming and outgoing messages in the log files, as the logs will contain the following:

 INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://localhost:9763/services/YourProxyService, From: 127.0.0.1, WSAction: urn:mediate, SOAPAction: urn:mediate, Direction: request, MESSAGE_ID = urn:uuid:e11893c5-b033-4e99-9473-a43d66b65fbb , Envelope:  <ENVELOPE_GOES_HERE>

b) .

, . .

UPD: SOAP, - ESB. .

+4

, ,

<property name="MessageID" expression="get-property('MessageID')"/>
0

, WSO2 ESB .

, - , . messagID .

.

0

All Articles