Package org.jboss.errai.bus.client.api.builder

Examples of org.jboss.errai.bus.client.api.builder.HasEncodedConvMessageWrapper


   */
  @SuppressWarnings({"unchecked"})
  public static MessageBuildSubject<MessageReplySendable> createConversation(Message message) {
    Message newMessage = provider.get();
    if (newMessage instanceof HasEncoded) {
      return new AbstractMessageBuilder<MessageReplySendable>(new HasEncodedConvMessageWrapper(message, newMessage)).start();
    }
    else {
      return new AbstractMessageBuilder<MessageReplySendable>(new ConversationMessageWrapper(message, newMessage)).start();
    }
  }
View Full Code Here


   */
  @SuppressWarnings({"unchecked"})
  public static MessageBuildCommand<MessageReplySendable> createConversation(Message message, String subject) {
    Message newMessage = provider.get();
    if (newMessage instanceof HasEncoded) {
      return new AbstractMessageBuilder<MessageReplySendable>(new HasEncodedConvMessageWrapper(message, newMessage))
        .start()
        .toSubject(subject);
    }
    else {
      return new AbstractMessageBuilder<MessageReplySendable>(new ConversationMessageWrapper(message, newMessage))
View Full Code Here

TOP

Related Classes of org.jboss.errai.bus.client.api.builder.HasEncodedConvMessageWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.