SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Service Broker to non MS DB


Service Broker to non MS DB

Author
Message
allen davidson
allen davidson
SSChasing Mays
SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)

Group: General Forum Members
Points: 636 Visits: 852
Hi is it possible to run service broker to talk to a non MS DB, the one in question would be MySQL?

Thanks in advance
Allen
Nils Gustav Stråbø
Nils Gustav Stråbø
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2449 Visits: 3575
No, there is no support in other database systems to "talk" service broker protocol.

That doesn't mean that whatever you want to do is not possible. I have used service broker to populate an ElasticSearch index in real-time. This was done by creating a .NET Windows service to RECEIVE from the target queue, process the messages and respond back to initiator. This does not guarantee any transactional consitency, since ElasticSearch can't joint the SQL Server transaction. If the update to ElasticSearch succeeds, but then something fails before I can respond to the initiator and commit, there is no way to rollback the ElasticSearch changes. We were able to live with that, but you need to decide for yourself if that is acceptable in your environment.
allen davidson
allen davidson
SSChasing Mays
SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)SSChasing Mays (636 reputation)

Group: General Forum Members
Points: 636 Visits: 852
Hi Nils - thanks - that was my expectation but its great to get confirmation.

Cheers
Allen
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search