Hi Gert,
I don't remember but AFAIR, the exchange target is populated by the
super class.
Let me check in the code.
Regards
JB
On 06/22/2011 05:07 PM, Gert Vanthienen wrote:
Jean-Baptiste,
Haven't looked at the code in detail yet, so I might be missing
something here, but wouldn't you expect a call to
super.configureExchangeTarget() in there somewhere to actually have
the ConsumerEndpoint populate the exchange's target?
Regards,
Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
On Wed, Jun 22, 2011 at 4:55 PM, Jean-Baptiste Onofré<[email protected]> wrote:
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,