Hide Forgot
Description of problem: Below listed C# examples does not allow to specify connection options; they cannot read them (parameter "options.ConnectionOptions" is not assigned in the constructor calling during creation of the Connection object). csharp.direct.receiver csharp.direct.sender csharp.example.declare_queues csharp.example.helloworld csharp.map.receiver Version-Release number of selected component (if applicable): qpid-cpp-*-2.0.0.4.zip How reproducible: 100% Steps to Reproduce: 1. Unpack and compile the package 2. Try to assign connection options for some of the applications; see "Additional Info" part Actual results: It is not possible to assign the connection options. Expected results: It should be possible to assign the connection options. Additional info: See the command line transcript and compare: C++ example - correct behaviour: C:\qpid\\examples\messaging\Release\map_receiver.exe username@xx ADDR;{create:sender,delete:receiver} {password:pswd} {colours:[red, green, white], id:987654321, name:Widget, percent:0.98999999999999999, uuid:37165abb-53d8-4c36-a4cc-09603d74c35b} C# example - incorrect behaviour: C:\qpid\bin\csharp.map.receiver.exe username@xx ADDR;{create:sender,delete:receiver} {password:pswd} Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Org.Apache.Qpid.Messaging.examples.MapReceiver.Main(String[] args) in c:\qpid\dotnet_examples\examples\csharp.map.receiver\csharp.map.receiver.cs:line 37