More fixes to the java16 build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -75,6 +75,7 @@ class SpringAmqpStubMessagesSpec extends Specification {
|
||||
})
|
||||
}
|
||||
|
||||
// for JDK 16 the merge option won't work and the metadata needs to be FULLY applied
|
||||
def "should send amqp message with metadata id"() {
|
||||
given:
|
||||
listenerContainer.setMessageListener(messageListenerAdapter)
|
||||
@@ -93,7 +94,9 @@ class SpringAmqpStubMessagesSpec extends Specification {
|
||||
"amqp": [
|
||||
"input": ["messageProperties": [
|
||||
correlationId: "correlationIdValue",
|
||||
consumerQueue: "queue"]]
|
||||
consumerQueue: "queue",
|
||||
contentType: CONTENT_TYPE_JSON,
|
||||
receivedRoutingKey: routingKey]]
|
||||
],
|
||||
"verifierMessage" : [messageType: "INPUT"]
|
||||
]))
|
||||
|
||||
@@ -25,7 +25,7 @@ import static org.assertj.core.api.BDDAssertions.then;
|
||||
class AmqpMetadataTests {
|
||||
|
||||
YAMLMapper mapper = new YAMLMapper();
|
||||
|
||||
|
||||
@Test
|
||||
void should_parse_the_metadata_entry() throws JsonProcessingException {
|
||||
// @formatter:off
|
||||
|
||||
Reference in New Issue
Block a user