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

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

本文整理了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

  1. @SuppressWarnings("unchecked")
  2. public Map<String, Object> getProperties() throws IOException {
  3. if (properties == null) {
  4. if (marshalledProperties == null) {
  5. return Collections.EMPTY_MAP;
  6. }
  7. properties = unmarsallProperties(marshalledProperties);
  8. }
  9. return Collections.unmodifiableMap(properties);
  10. }

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

  1. protected void lazyCreateProperties() throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. properties = new HashMap<String, Object>();
  5. } else {
  6. properties = unmarsallProperties(marshalledProperties);
  7. marshalledProperties = null;
  8. }
  9. } else {
  10. marshalledProperties = null;
  11. }
  12. }

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

  1. public Object getProperty(String name) throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. return null;
  5. }
  6. properties = unmarsallProperties(marshalledProperties);
  7. }
  8. Object result = properties.get(name);
  9. if (result instanceof UTF8Buffer) {
  10. result = result.toString();
  11. }
  12. return result;
  13. }

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

  1. @SuppressWarnings("unchecked")
  2. public Map<String, Object> getProperties() throws IOException {
  3. if (properties == null) {
  4. if (marshalledProperties == null) {
  5. return Collections.EMPTY_MAP;
  6. }
  7. properties = unmarsallProperties(marshalledProperties);
  8. }
  9. return Collections.unmodifiableMap(properties);
  10. }

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

  1. @SuppressWarnings("unchecked")
  2. public Map<String, Object> getProperties() throws IOException {
  3. if (properties == null) {
  4. if (marshalledProperties == null) {
  5. return Collections.EMPTY_MAP;
  6. }
  7. properties = unmarsallProperties(marshalledProperties);
  8. }
  9. return Collections.unmodifiableMap(properties);
  10. }

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

  1. @SuppressWarnings("unchecked")
  2. public Map<String, Object> getProperties() throws IOException {
  3. if (properties == null) {
  4. if (marshalledProperties == null) {
  5. return Collections.EMPTY_MAP;
  6. }
  7. properties = unmarsallProperties(marshalledProperties);
  8. }
  9. return Collections.unmodifiableMap(properties);
  10. }

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

  1. protected void lazyCreateProperties() throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. properties = new HashMap<String, Object>();
  5. } else {
  6. properties = unmarsallProperties(marshalledProperties);
  7. marshalledProperties = null;
  8. }
  9. } else {
  10. marshalledProperties = null;
  11. }
  12. }

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

  1. protected void lazyCreateProperties() throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. properties = new HashMap<String, Object>();
  5. } else {
  6. properties = unmarsallProperties(marshalledProperties);
  7. marshalledProperties = null;
  8. }
  9. } else {
  10. marshalledProperties = null;
  11. }
  12. }

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

  1. protected void lazyCreateProperties() throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. properties = new HashMap<String, Object>();
  5. } else {
  6. properties = unmarsallProperties(marshalledProperties);
  7. marshalledProperties = null;
  8. }
  9. } else {
  10. marshalledProperties = null;
  11. }
  12. }

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

  1. @SuppressWarnings("unchecked")
  2. public Map<String, Object> getProperties() throws IOException {
  3. if (properties == null) {
  4. if (marshalledProperties == null) {
  5. return Collections.EMPTY_MAP;
  6. }
  7. properties = unmarsallProperties(marshalledProperties);
  8. }
  9. return Collections.unmodifiableMap(properties);
  10. }

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

  1. protected void lazyCreateProperties() throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. properties = new HashMap<String, Object>();
  5. } else {
  6. properties = unmarsallProperties(marshalledProperties);
  7. marshalledProperties = null;
  8. }
  9. }
  10. }

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

  1. public Object getProperty(String name) throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. return null;
  5. }
  6. properties = unmarsallProperties(marshalledProperties);
  7. }
  8. return properties.get(name);
  9. }

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

  1. public Object getProperty(String name) throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. return null;
  5. }
  6. properties = unmarsallProperties(marshalledProperties);
  7. }
  8. Object result = properties.get(name);
  9. if (result instanceof UTF8Buffer) {
  10. result = result.toString();
  11. }
  12. return result;
  13. }

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

  1. public Object getProperty(String name) throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. return null;
  5. }
  6. properties = unmarsallProperties(marshalledProperties);
  7. }
  8. Object result = properties.get(name);
  9. if (result instanceof UTF8Buffer) {
  10. result = result.toString();
  11. }
  12. return result;
  13. }

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

  1. public Object getProperty(String name) throws IOException {
  2. if (properties == null) {
  3. if (marshalledProperties == null) {
  4. return null;
  5. }
  6. properties = unmarsallProperties(marshalledProperties);
  7. }
  8. Object result = properties.get(name);
  9. if (result instanceof UTF8Buffer) {
  10. result = result.toString();
  11. }
  12. return result;
  13. }

相关文章

Message类方法