Announcement Announcement Module
Collapse
No announcement yet.
MessageChannelTemplate problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MessageChannelTemplate problem

    Why MessageChannelTemplate lost original request message type?

    code:

    private Message<?> doSendAndReceive(Message<?> request, MessageChannel channel) {
    TemporaryReplyChannel replyChannel = new TemporaryReplyChannel(this.receiveTimeout);
    request = MessageBuilder.fromMessage(request)
    .setReplyChannel(replyChannel)
    .setErrorChannel(replyChannel)
    .build();
    if (!this.doSend(request, channel)) {
    return null;
    }
    return this.doReceive(replyChannel);
    }

    -----------
    How to reply with custom message type(non GenericMessage type) from service?
    Last edited by weblogic; Mar 23rd, 2009, 05:35 PM.
Working...
X