Hi all,I'm new to camel and trying to learn. I'm trying to submit a message
to the smsc, but unable to do so. I'm able to connect with smsc but not able
to submit message. Here is my route
definition:from("direct:start").to("smpp://smppclient1@localhost:2775?password=password&enquireLinkTimer=10000&transactionTimer=5000&systemType=producer");
from("smpp://smppclient1@localhost:2775?password=password&enquireLinkTimer=10000&transactionTimer=5000&systemType=consumer").to("mock:result");this
is what i'm trying to do:CamelContext context = new DefaultCamelContext();
Endpoint start =
context.getEndpoint("direct:start");context.addEndpoint("direct:start",
start);Exchange exchange =
start.createExchange(ExchangePattern.InOut);exchange.getIn().createExchangeId();exchange.getIn().setHeader(SmppConstants.COMMAND,
"SubmitMulti");exchange.getIn().setBody("Hello SMPP
World!");context.addRoutes(createRouteBuilder());template =
context.createProducerTemplate();template.send(start, exchange);I've googled
a lot to search for the working example without any success. Could you
please help me with the same.Thanks & regards,Jagdish
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-smpp-integration-tp5729585.html
Sent from the Camel - Users mailing list archive at Nabble.com.