public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, int maxPropertySize) throws IOException { return unmarshalPrimitiveMap(in, maxPropertySize, false); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, boolean force) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, force); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties)), MAX_PROPERTY_SIZE); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties))); }
value = unmarshalPrimitiveMap(in, true); break; case LIST_TYPE:
/** * Builds the message body from data * * @throws JMSException * @throws IOException */ private void loadContent() throws JMSException { try { if (getContent() != null && map.isEmpty()) { ByteSequence content = getContent(); InputStream is = new ByteArrayInputStream(content); if (isCompressed()) { is = new InflaterInputStream(is); } DataInputStream dataIn = new DataInputStream(is); map = MarshallingSupport.unmarshalPrimitiveMap(dataIn); dataIn.close(); } } catch (IOException e) { throw JMSExceptionSupport.create(e); } }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, boolean force) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, force); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, int maxPropertySize) throws IOException { return unmarshalPrimitiveMap(in, maxPropertySize, false); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, boolean force) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, force); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE); }
public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream in, boolean force) throws IOException { return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, force); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties)), MAX_PROPERTY_SIZE); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties))); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties)), MAX_PROPERTY_SIZE); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties))); }
private Map<String, Object> unmarsallProperties(ByteSequence marshalledProperties) throws IOException { return MarshallingSupport.unmarshalPrimitiveMap(new DataInputStream(new ByteArrayInputStream(marshalledProperties))); }
private static void writeMapType(final ByteSequence contents, final boolean messageCompressed, final ActiveMQBuffer body) throws IOException { InputStream mis = new ByteArrayInputStream(contents); if (messageCompressed) { mis = new InflaterInputStream(mis); } DataInputStream mdataIn = new DataInputStream(mis); Map<String, Object> map = MarshallingSupport.unmarshalPrimitiveMap(mdataIn); mdataIn.close(); TypedProperties props = new TypedProperties(); loadMapIntoProperties(props, map); props.encode(body.byteBuf()); }