<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Microsoft Sans Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Ran into an interesting issue with the client.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The scenario is this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We create a queue when a review operator first opens a unit of work.   Other operators can open the same unit of work, but obviously we do not want to add items to the queue from the database for subsequent operators.    So – the first thing we do is use the QueueDeclarePassive(queuename) method in a try-catch.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So – for the first operator fails with the error that the queue was not found.   We then attempt to use the QueueDeclare method to create the queue, however it then fails with the same error.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I suspect that the QueueDeclarePassive method may have set the passive bit – and the client is not resetting it after failing so that the subsequent call also is acting like a passive call.   <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We do have a work around – which is to reset our model object – but would be nice if the client handled this, either by re-implementing the QueueDeclare with the passive bit, allowing us to set it – or by making the public QueueDeclare method force the bit to false.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-add-space:auto'><b><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:black'>S. Douglas Hunt </span></b><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:black'>|<b> </b>Software Engineer<o:p></o:p></span></p><p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-add-space:auto'><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:blue'><o:p> </o:p></span></p><p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-add-space:auto'><span lang=FR style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:black'>Voice  (734) 461-1420 | Fax (305) 675-2448</span><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:blue'><o:p></o:p></span></p><p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-add-space:auto'><b><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:red'><a href="http://www.conix.com/"><span style='color:red'>CONIX Systems, Inc</span></a></span></b><span lang=FR style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-add-space:auto'><b><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif","sans-serif";color:black'><o:p> </o:p></span></b></p><p class=MsoNormal><b><i><span style='color:#002060;text-shadow:auto'>Safeguarding Payments<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='color:#002060;text-shadow:auto'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='text-autospace:none'><b><i><span style='font-size:9.0pt;color:gray'>This message is intended for the use of the individual or entity to which it is addressed, and may contain information that constitutes a copyright, patent, trade secret or confidential information of CONIX Systems, Inc., or is otherwise privileged, confidential, or exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient, you are hereby notified that the dissemination, distribution, or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by electronic mail and delete the original message and destroy any hard copies made thereof.</span></i></b><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>