Hi Josn,

the target endpoint is provided in the xbean. It's injected in the abstract class and populated in the exchange.

Regards
JB

On 06/22/2011 04:42 PM, josn wrote:
Hi ,

I read the source code of serviemix-smpp-2010.01 binding component. here is
some snippet of class SmppConsumerEndpoint,

       public void onAcceptDeliverSm(DeliverSm deliverSm) {
                 try {
                     InOnly exchange =
getExchangeFactory().createInOnlyExchange();
                     NormalizedMessage in = exchange.createMessage();
                     exchange.setInMessage(in);
                     marshaler.toNMS(in, deliverSm);
                     send(exchange);
                 } catch (MessagingException messagingException) {
                     log.error("Unable to send the received SMS to the NMR",
messagingException);
                 }
             }

After creating the exchange, there is no code to configure exchange target.
weired?

Any help?

Regards,

Reply via email to