org.apache.activemq.command.Message.unmarsallProperties()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(5.0k)|赞(0)|评价(0)|浏览(221)

本文整理了Java中org.apache.activemq.command.Message.unmarsallProperties()方法的一些代码示例,展示了Message.unmarsallProperties()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.unmarsallProperties()方法的具体详情如下:
包路径:org.apache.activemq.command.Message
类名称:Message
方法名:unmarsallProperties

Message.unmarsallProperties介绍

暂无

代码示例

代码示例来源:origin: apache/activemq

@SuppressWarnings("unchecked")
public Map<String, Object> getProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return Collections.EMPTY_MAP;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return Collections.unmodifiableMap(properties);
}

代码示例来源:origin: apache/activemq

protected void lazyCreateProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      properties = new HashMap<String, Object>();
    } else {
      properties = unmarsallProperties(marshalledProperties);
      marshalledProperties = null;
    }
  } else {
    marshalledProperties = null;
  }
}

代码示例来源:origin: apache/activemq

public Object getProperty(String name) throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return null;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  Object result = properties.get(name);
  if (result instanceof UTF8Buffer) {
    result = result.toString();
  }
  return result;
}

代码示例来源:origin: org.apache.activemq/activemq-osgi

@SuppressWarnings("unchecked")
public Map<String, Object> getProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return Collections.EMPTY_MAP;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return Collections.unmodifiableMap(properties);
}

代码示例来源:origin: pierre/meteo

@SuppressWarnings("unchecked")
public Map<String, Object> getProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return Collections.EMPTY_MAP;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return Collections.unmodifiableMap(properties);
}

代码示例来源:origin: org.apache.activemq/activemq-client

@SuppressWarnings("unchecked")
public Map<String, Object> getProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return Collections.EMPTY_MAP;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return Collections.unmodifiableMap(properties);
}

代码示例来源:origin: org.apache.activemq/activemq-client

protected void lazyCreateProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      properties = new HashMap<String, Object>();
    } else {
      properties = unmarsallProperties(marshalledProperties);
      marshalledProperties = null;
    }
  } else {
    marshalledProperties = null;
  }
}

代码示例来源:origin: org.apache.activemq/activemq-all

protected void lazyCreateProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      properties = new HashMap<String, Object>();
    } else {
      properties = unmarsallProperties(marshalledProperties);
      marshalledProperties = null;
    }
  } else {
    marshalledProperties = null;
  }
}

代码示例来源:origin: org.apache.activemq/activemq-osgi

protected void lazyCreateProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      properties = new HashMap<String, Object>();
    } else {
      properties = unmarsallProperties(marshalledProperties);
      marshalledProperties = null;
    }
  } else {
    marshalledProperties = null;
  }
}

代码示例来源:origin: org.apache.activemq/activemq-all

@SuppressWarnings("unchecked")
public Map<String, Object> getProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return Collections.EMPTY_MAP;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return Collections.unmodifiableMap(properties);
}

代码示例来源:origin: pierre/meteo

protected void lazyCreateProperties() throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      properties = new HashMap<String, Object>();
    } else {
      properties = unmarsallProperties(marshalledProperties);
      marshalledProperties = null;
    }
  }
}

代码示例来源:origin: pierre/meteo

public Object getProperty(String name) throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return null;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  return properties.get(name);
}

代码示例来源:origin: org.apache.activemq/activemq-client

public Object getProperty(String name) throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return null;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  Object result = properties.get(name);
  if (result instanceof UTF8Buffer) {
    result = result.toString();
  }
  return result;
}

代码示例来源:origin: org.apache.activemq/activemq-all

public Object getProperty(String name) throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return null;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  Object result = properties.get(name);
  if (result instanceof UTF8Buffer) {
    result = result.toString();
  }
  return result;
}

代码示例来源:origin: org.apache.activemq/activemq-osgi

public Object getProperty(String name) throws IOException {
  if (properties == null) {
    if (marshalledProperties == null) {
      return null;
    }
    properties = unmarsallProperties(marshalledProperties);
  }
  Object result = properties.get(name);
  if (result instanceof UTF8Buffer) {
    result = result.toString();
  }
  return result;
}

相关文章

Message类方法