Samples

Talend ESB Mediation Developer Guide

EnrichVersion
6.2
EnrichProdName
Talend ESB
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB

A route which sends an SMS using the Java DSL:

from("direct:start")
   .to("smpp://smppclient@localhost:2775?password=password&
enquireLinkTimer=3000&transactionTimer=5000&systemType=producer");

A route which sends an SMS using the Spring XML DSL:

<route>
   <from uri="direct:start"/>
   <to uri="smpp://smppclient@localhost:2775?password=password&
enquireLinkTimer=3000&transactionTimer=5000&systemType=producer"/>
</route>

A route which receives an SMS using the Java DSL:

from("smpp://smppclient@localhost:2775?password=password&enquireLinkTimer=
3000&transactionTimer=5000&systemType=consumer")
   .to("bean:foo");

A route which receives an SMS using the Spring XML DSL:

<route>
   <from uri="smpp://smppclient@localhost:2775?password=password&
enquireLinkTimer=3000&amp;transactionTimer=5000&systemType=consumer"/>
   <to uri="bean:foo"/>
</route>

Note

If you need an SMSC simulator for your test, you can use the simulator provided by Logica.