Package org.springframework.amqp.core

Examples of org.springframework.amqp.core.MessagePropertiesBuilder


  }

  @Test
  public void ifAbsentNoneReplaced() {
    MessageProperties properties = new MessageProperties();
    MessagePropertiesBuilder builder = MessagePropertiesBuilder.fromProperties(properties);
    this.setAll(builder);
    this.setAllIfAbsent(builder);
    properties = builder.build();
    assertLower(properties);
  }
View Full Code Here


    assertLower(properties);
  }

  @Test
  public void ifAbsentAllAdded() {
    MessagePropertiesBuilder builder = MessagePropertiesBuilder.newInstance();
    this.setAllIfAbsent(builder);
    MessageProperties properties = builder.build();
    assertUpper(properties);
  }
View Full Code Here

  }

  @Test
  public void replaceAll() {
    MessageProperties properties = new MessageProperties();
    MessagePropertiesBuilder builder = MessagePropertiesBuilder.fromProperties(properties);
    this.setAllIfAbsent(builder);
    this.setAll(builder);
    properties = builder.build();
    assertLower(properties);
  }
View Full Code Here

TOP

Related Classes of org.springframework.amqp.core.MessagePropertiesBuilder

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.