1 46 50 package org.mr.core.protocol; 51 52 59 public class MantaBusMessageConsts { 60 61 public final static byte MESSAGE_TYPE_CONTROL =1; 62 public final static byte MESSAGE_TYPE_CLIENT = 2; 63 66 public final static String HEADER_NAME_PAYLOAD_TYPE = "plType"; 67 68 public final static String PAYLOAD_TYPE_TEXT = "text"; 69 public final static String PAYLOAD_TYPE_XML = "xml"; 70 public final static String PAYLOAD_TYPE_OBJECT = "object"; 71 public final static String PAYLOAD_TYPE_MAP = "map"; 72 public final static String PAYLOAD_TYPE_BYTES = "bytes"; 73 public final static String PAYLOAD_TYPE_STREAM = "stream"; 74 public final static String PAYLOAD_TYPE_JMS = "jms"; 75 public final static String PAYLOAD_TYPE_SOAP = "soap"; 76 77 80 public final static String HEADER_VALUE_TRUE ="t"; 81 84 public final static String HEADER_VALUE_FALSE ="f"; 85 86 89 public final static String HEADER_NAME_ACK_RESPONSE_REFERENCE= "respToId"; 90 91 94 public final static String HEADER_NAME_ACK_REJECT_RESPONSE_REFERENCE = 95 "rejectId"; 96 97 101 public final static String HEADER_NAME_LOGICAL_DESTINATION= "dest"; 102 103 106 public final static String ENQUEUE_STATUS = "enqStat"; 107 108 111 public final static String HEADER_NAME_IS_EMPTY = "empResp"; 112 113 116 public final static String HEADER_NAME_SENT_FAIL = "sentFail"; 117 118 119 120 } 121 | Popular Tags |