i would like to update a database and publish to a topic within a transaction.
the pseudo code looks like this:
dosomething() {
new transactionscope() {
db.write();
bus.publish();
} }
i am not using the neuron api. i am sending wcf messages directly to the client connector.
please correct me if any of the following is incorrect as i'm listing my understanding/assumptions:
it appears that the client connector receives the message and uses the neuron api to enqueue the message. i assume the neuron api call to enqueue the message will enlist in an ambient transaction since msmq is a dtc resource provider.
here's my question:
is there a way to control the client connector such that the ambient transaction to enqueue the message enlists in the transaction scope i created?
i hope this is clear. if not, please respond and i'll clarify.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by