msmq - Cannot see if my queue is a transaction -
i'm trying send message remote queue.
// send message queue. if (myqueue.transactional) { var mytransaction = new messagequeuetransaction(); mytransaction.begin(); message objmessage = new message(); objmessage.usedeadletterqueue = true; objmessage.body = message; myqueue.send(objmessage, mytransaction); mytransaction.commit(); } else { message objmessage = new message(); objmessage.usedeadletterqueue = true; objmessage.body = message; myqueue.send(message); }
but exception
the specified format name not back upwards requested operation. example, direct queue format name cannot deleted.
i assume queue name wrong or have permission error enabled dead letter queue it's empty. queue name "formatname:direct=tcp:xx.xxx.xx.xx\private$\test"
thanks
you can't query info remote private queue. local queues, yes. remote public queues, yes, not formatname.
msmq
No comments:
Post a Comment