RED-7375: integrate table extractor
* bind the correct DLQ
This commit is contained in:
parent
e4184e442b
commit
836eea7829
@ -350,19 +350,21 @@ public class MessagingConfiguration {
|
|||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public Queue layoutparsingRequestQueue() {
|
public Queue layoutparsingRequestQueue() {
|
||||||
|
|
||||||
return QueueBuilder.durable(LAYOUT_PARSING_REQUEST_QUEUE)//
|
return QueueBuilder.durable(LAYOUT_PARSING_REQUEST_QUEUE).withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ).build();
|
||||||
.withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ).build();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public Queue layoutparsingResponseQueue() {
|
public Queue layoutparsingResponseQueue() {
|
||||||
|
|
||||||
return QueueBuilder.durable(LAYOUT_PARSING_FINISHED_EVENT_QUEUE)//
|
return QueueBuilder.durable(LAYOUT_PARSING_FINISHED_EVENT_QUEUE)
|
||||||
.withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ).build();
|
.withArgument("x-dead-letter-exchange", "")
|
||||||
|
.withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ)
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -375,16 +377,17 @@ public class MessagingConfiguration {
|
|||||||
@Bean
|
@Bean
|
||||||
public Queue tableExtractorRequestQueue() {
|
public Queue tableExtractorRequestQueue() {
|
||||||
|
|
||||||
return QueueBuilder.durable(TABLE_EXTRACTOR_QUEUE)//
|
return QueueBuilder.durable(TABLE_EXTRACTOR_QUEUE).withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", TABLE_EXTRACTOR_DLQ).build();
|
||||||
.withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ).build();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public Queue tableExtractorResponseQueue() {
|
public Queue tableExtractorResponseQueue() {
|
||||||
|
|
||||||
return QueueBuilder.durable(TABLE_EXTRACTOR_RESPONSE_QUEUE)//
|
return QueueBuilder.durable(TABLE_EXTRACTOR_RESPONSE_QUEUE)
|
||||||
.withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LAYOUT_PARSING_DLQ).build();
|
.withArgument("x-dead-letter-exchange", "")
|
||||||
|
.withArgument("x-dead-letter-routing-key", TABLE_EXTRACTOR_DLQ)
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user