Author: cliffjansen
Date: Fri Nov 19 20:39:14 2010
New Revision: 1037017
URL: http://svn.apache.org/viewvc?rev=1037017&view=rev
Log:
QPID-2954 fix naming of dummy queue for WarmUpTransactionSubsystem
Modified:
qpid/trunk/qpid/wcf/test/Apache/Qpid/Test/Channel/WcfPerftest/WcfPerftest.cs
Modified:
qpid/trunk/qpid/wcf/test/Apache/Qpid/Test/Channel/WcfPerftest/WcfPerftest.cs
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/wcf/test/Apache/Qpid/Test/Channel/WcfPerftest/WcfPerftest.cs?rev=1037017&r1=1037016&r2=1037017&view=diff
==============================================================================
---
qpid/trunk/qpid/wcf/test/Apache/Qpid/Test/Channel/WcfPerftest/WcfPerftest.cs
(original)
+++
qpid/trunk/qpid/wcf/test/Apache/Qpid/Test/Channel/WcfPerftest/WcfPerftest.cs
Fri Nov 19 20:39:14 2010
@@ -391,8 +391,13 @@ namespace Apache.Qpid.Test.Channel.WcfPe
Console.WriteLine("Initializing transactions");
IRawBodyUtility bodyUtil = new RawEncoderUtility();
- // send a transacted message to nowhere to force the initial
registration with MSDTC
- IOutputChannel channel =
QueueChannelFactory.CreateWriterChannel("", Guid.NewGuid().ToString());
+ // Send a transacted message to nowhere to force the initial
registration with MSDTC.
+ // MSDTC insists on verifying it can contact the resource in the
manner expected for
+ // recovery. This requires setting up and finishing a separate
connection to the
+ // broker by a thread owned by the DTC. Excluding this time
allows the existing
+ // reporting mechanisms to better reflect the cost per transaction
without requiring
+ // long test runs.
+ IOutputChannel channel =
QueueChannelFactory.CreateWriterChannel("amq.direct",
Guid.NewGuid().ToString());
Message msg = bodyUtil.CreateMessage("sacrificial transacted
message from WcfPerftest");
using (TransactionScope ts = new TransactionScope())
{
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]