You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/03/03 14:39:52 UTC
[camel] branch master updated: camel-google-pubsub: fixed incorrect
creation of the dead-letter topic (#5160)
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new b165121 camel-google-pubsub: fixed incorrect creation of the dead-letter topic (#5160)
b165121 is described below
commit b16512110e0f984fa390f39800dbb6fa822da91e
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Wed Mar 3 15:39:23 2021 +0100
camel-google-pubsub: fixed incorrect creation of the dead-letter topic (#5160)
---
.../camel/component/google/pubsub/integration/DeadLetterTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/integration/DeadLetterTest.java b/components/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/integration/DeadLetterTest.java
index 35674a9..af1e45e 100644
--- a/components/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/integration/DeadLetterTest.java
+++ b/components/camel-google-pubsub/src/test/java/org/apache/camel/component/google/pubsub/integration/DeadLetterTest.java
@@ -110,7 +110,7 @@ public class DeadLetterTest extends PubsubTestSupport {
.setName(projectInputSubscriptionName.toString())
.setTopic(inputTopic.getName())
.setDeadLetterPolicy(DeadLetterPolicy.newBuilder()
- .setDeadLetterTopic(deadLetterTopic.toString())
+ .setDeadLetterTopic(deadLetterTopic.getName())
.setMaxDeliveryAttempts(5).build())
.build();
Subscription deadLetterSubscription = Subscription.newBuilder()