Subscribe one topic to another topic using Microsoft servicebus
Is it possible to subscribe one topic in servicebus to another topic in same service bus.If possible how to achieve this functionality during runtime(through code).
Thank you.
azureservicebus servicebus azure-servicebus-topics
add a comment |
Is it possible to subscribe one topic in servicebus to another topic in same service bus.If possible how to achieve this functionality during runtime(through code).
Thank you.
azureservicebus servicebus azure-servicebus-topics
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service busauto-forwarding
feature. Please refer to this article.
– Joey Cai
Nov 15 '18 at 8:44
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47
add a comment |
Is it possible to subscribe one topic in servicebus to another topic in same service bus.If possible how to achieve this functionality during runtime(through code).
Thank you.
azureservicebus servicebus azure-servicebus-topics
Is it possible to subscribe one topic in servicebus to another topic in same service bus.If possible how to achieve this functionality during runtime(through code).
Thank you.
azureservicebus servicebus azure-servicebus-topics
azureservicebus servicebus azure-servicebus-topics
asked Nov 14 '18 at 12:55
MounikaMounika
96
96
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service busauto-forwarding
feature. Please refer to this article.
– Joey Cai
Nov 15 '18 at 8:44
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47
add a comment |
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service busauto-forwarding
feature. Please refer to this article.
– Joey Cai
Nov 15 '18 at 8:44
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service bus
auto-forwarding
feature. Please refer to this article.– Joey Cai
Nov 15 '18 at 8:44
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service bus
auto-forwarding
feature. Please refer to this article.– Joey Cai
Nov 15 '18 at 8:44
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47
add a comment |
3 Answers
3
active
oldest
votes
As I have said, the Service Bus autoforwarding
feature enables you to chain a queue or subscription to another queue or topic that is part of the same namespace.
When autoforwarding
is enabled, Service Bus automatically removes messages that are placed in the first queue or subscription (source) and puts them in the second queue or topic (destination). It is still possible to send a message to the destination entity directly. Also, it is not possible to chain a subqueue, such as a deadletter queue, to another queue or topic.
You can enable autoforwarding by setting the SubscriptionDescription.ForwardTo properties on the SubscriptionDescription objects for the source, as in the following example:
SubscriptionDescription srcSubscription = new SubscriptionDescription (srcTopic, srcSubscriptionName);
srcSubscription.ForwardTo = destTopic;
namespaceManager.CreateSubscription(srcSubscription));
For more details, you could refer to this article.
add a comment |
You can forward the messages of your topic subscription to another topic using the Auto forward property. The messages from your main queue of your topic subscription can be forwarded to another topic using forwardTo property of your topic subscription. If you want to forward messages in your dead-letter sub queue of topic subscription , you can use forwardDeadLetteredMessagesTo property of topic subscription.
One limitation in setting the forwardTo property is that you can forward messages only to the queues and topics within the same namespace.To know more on autoforwarding refer here
add a comment |
If you want to send Messages from Topic A to Topic B
Create a subscription under Topic A and forward all messages to Topic B.
:)
Hope this helps
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300761%2fsubscribe-one-topic-to-another-topic-using-microsoft-servicebus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
As I have said, the Service Bus autoforwarding
feature enables you to chain a queue or subscription to another queue or topic that is part of the same namespace.
When autoforwarding
is enabled, Service Bus automatically removes messages that are placed in the first queue or subscription (source) and puts them in the second queue or topic (destination). It is still possible to send a message to the destination entity directly. Also, it is not possible to chain a subqueue, such as a deadletter queue, to another queue or topic.
You can enable autoforwarding by setting the SubscriptionDescription.ForwardTo properties on the SubscriptionDescription objects for the source, as in the following example:
SubscriptionDescription srcSubscription = new SubscriptionDescription (srcTopic, srcSubscriptionName);
srcSubscription.ForwardTo = destTopic;
namespaceManager.CreateSubscription(srcSubscription));
For more details, you could refer to this article.
add a comment |
As I have said, the Service Bus autoforwarding
feature enables you to chain a queue or subscription to another queue or topic that is part of the same namespace.
When autoforwarding
is enabled, Service Bus automatically removes messages that are placed in the first queue or subscription (source) and puts them in the second queue or topic (destination). It is still possible to send a message to the destination entity directly. Also, it is not possible to chain a subqueue, such as a deadletter queue, to another queue or topic.
You can enable autoforwarding by setting the SubscriptionDescription.ForwardTo properties on the SubscriptionDescription objects for the source, as in the following example:
SubscriptionDescription srcSubscription = new SubscriptionDescription (srcTopic, srcSubscriptionName);
srcSubscription.ForwardTo = destTopic;
namespaceManager.CreateSubscription(srcSubscription));
For more details, you could refer to this article.
add a comment |
As I have said, the Service Bus autoforwarding
feature enables you to chain a queue or subscription to another queue or topic that is part of the same namespace.
When autoforwarding
is enabled, Service Bus automatically removes messages that are placed in the first queue or subscription (source) and puts them in the second queue or topic (destination). It is still possible to send a message to the destination entity directly. Also, it is not possible to chain a subqueue, such as a deadletter queue, to another queue or topic.
You can enable autoforwarding by setting the SubscriptionDescription.ForwardTo properties on the SubscriptionDescription objects for the source, as in the following example:
SubscriptionDescription srcSubscription = new SubscriptionDescription (srcTopic, srcSubscriptionName);
srcSubscription.ForwardTo = destTopic;
namespaceManager.CreateSubscription(srcSubscription));
For more details, you could refer to this article.
As I have said, the Service Bus autoforwarding
feature enables you to chain a queue or subscription to another queue or topic that is part of the same namespace.
When autoforwarding
is enabled, Service Bus automatically removes messages that are placed in the first queue or subscription (source) and puts them in the second queue or topic (destination). It is still possible to send a message to the destination entity directly. Also, it is not possible to chain a subqueue, such as a deadletter queue, to another queue or topic.
You can enable autoforwarding by setting the SubscriptionDescription.ForwardTo properties on the SubscriptionDescription objects for the source, as in the following example:
SubscriptionDescription srcSubscription = new SubscriptionDescription (srcTopic, srcSubscriptionName);
srcSubscription.ForwardTo = destTopic;
namespaceManager.CreateSubscription(srcSubscription));
For more details, you could refer to this article.
answered Nov 16 '18 at 9:55
Joey CaiJoey Cai
5,4701211
5,4701211
add a comment |
add a comment |
You can forward the messages of your topic subscription to another topic using the Auto forward property. The messages from your main queue of your topic subscription can be forwarded to another topic using forwardTo property of your topic subscription. If you want to forward messages in your dead-letter sub queue of topic subscription , you can use forwardDeadLetteredMessagesTo property of topic subscription.
One limitation in setting the forwardTo property is that you can forward messages only to the queues and topics within the same namespace.To know more on autoforwarding refer here
add a comment |
You can forward the messages of your topic subscription to another topic using the Auto forward property. The messages from your main queue of your topic subscription can be forwarded to another topic using forwardTo property of your topic subscription. If you want to forward messages in your dead-letter sub queue of topic subscription , you can use forwardDeadLetteredMessagesTo property of topic subscription.
One limitation in setting the forwardTo property is that you can forward messages only to the queues and topics within the same namespace.To know more on autoforwarding refer here
add a comment |
You can forward the messages of your topic subscription to another topic using the Auto forward property. The messages from your main queue of your topic subscription can be forwarded to another topic using forwardTo property of your topic subscription. If you want to forward messages in your dead-letter sub queue of topic subscription , you can use forwardDeadLetteredMessagesTo property of topic subscription.
One limitation in setting the forwardTo property is that you can forward messages only to the queues and topics within the same namespace.To know more on autoforwarding refer here
You can forward the messages of your topic subscription to another topic using the Auto forward property. The messages from your main queue of your topic subscription can be forwarded to another topic using forwardTo property of your topic subscription. If you want to forward messages in your dead-letter sub queue of topic subscription , you can use forwardDeadLetteredMessagesTo property of topic subscription.
One limitation in setting the forwardTo property is that you can forward messages only to the queues and topics within the same namespace.To know more on autoforwarding refer here
answered Nov 19 '18 at 4:29
Ranjith eswaranRanjith eswaran
171111
171111
add a comment |
add a comment |
If you want to send Messages from Topic A to Topic B
Create a subscription under Topic A and forward all messages to Topic B.
:)
Hope this helps
add a comment |
If you want to send Messages from Topic A to Topic B
Create a subscription under Topic A and forward all messages to Topic B.
:)
Hope this helps
add a comment |
If you want to send Messages from Topic A to Topic B
Create a subscription under Topic A and forward all messages to Topic B.
:)
Hope this helps
If you want to send Messages from Topic A to Topic B
Create a subscription under Topic A and forward all messages to Topic B.
:)
Hope this helps
edited Nov 19 '18 at 7:48
answered Nov 15 '18 at 10:57
Burim HajrizajBurim Hajrizaj
15311
15311
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300761%2fsubscribe-one-topic-to-another-topic-using-microsoft-servicebus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you want to chain a subscription to another topic that is part of the same namespace. If so, you could try to use the service bus
auto-forwarding
feature. Please refer to this article.– Joey Cai
Nov 15 '18 at 8:44
@JoeyCai,Yeah Joey working on it and subscription of one topic to another topic is working perfectly by using auto-forwarding feature.Thank you so much for the help.But still found some issues in some cases and trying to solve them
– Mounika
Nov 16 '18 at 9:47