How to turn off MTOM for the Service Activity Monitoring (SAM) agent

Question

How do you turn off the MTOM for the Service Activity Monitoring (SAM) agent?

 

Answer

To disable the MTOM support for the communication between the sam-agent and the sam-server, perform one of the following procedures:

 

Versions before Talend 7.0.1

Edit the TalendRuntime_Installation_Directory/system/org/talend/esb/sam-agent/6.x.x/sam-agent-6.x.x.jar/META-INF/tesb/agent-context.xml file, and change the value of the <entry key="mtom-enabled" value="True"/> property to <entry key="mtom-enabled" value="False"/>.

 

Versions after Talend 7.0.1

Set the value of the <entry key="mtom-enabled" value="True"/> property to False in the following files:

/opt/talend/esb/container/system/org/talend/esb/sam-agent/7.0.1/sam-agent-7.0.1.jar/META-INF/tesb/agent-context.xml
/opt/talend/esb/container/system/org/talend/esb/sam-agent/7.0.1/sam-agent-7.0.1.jar/OSGI-INF/blueprint/sam-feature-service.xml

 

After you've updated the files above, run the following commands in the Karaf:

update sam-agent
refresh org.talend.esb.sam-agent
Version history
Revision #:
5 of 5
Last update:
‎07-05-2019 03:59 AM
Updated by: