Package com.cloudhopper.mq.message

Examples of com.cloudhopper.mq.message.MQMessage


    transferItem.getLocalQueue().getTranscoder() instanceof TranscoderWrapped &&
    transferItem.getItem() instanceof MQMessage) {
    logger.trace("RemoteBroker[{}] is version 1", brokerInfo);
    logger.trace("Queue[{}] uses TranscoderWrapped and item is MQMessage", transferItem.getLocalQueue().getName());
    TranscoderWrapped tw = (TranscoderWrapped)transferItem.getLocalQueue().getTranscoder();
    MQMessage mqItem = (MQMessage)transferItem.getItem();
    type = mqItem.getBody().getClass().getCanonicalName();
    data = tw.getBaseTranscoder().encode(mqItem.getBody());
      } else {
    type = transferItem.getItemType().getCanonicalName();
    data = transferItem.getLocalQueue().getTranscoder().encode(transferItem.getItem());
      }
View Full Code Here

TOP

Related Classes of com.cloudhopper.mq.message.MQMessage

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.