| Summary: | Some C# examples do not enable to specify the connection options | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petra Svobodová <psvobodo> |
| Component: | qpid-sdk | Assignee: | Chuck Rolke <crolke> |
| Status: | CLOSED WONTFIX | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0 | CC: | jross |
| Target Milestone: | --- | Keywords: | Improvement |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-22 14:35:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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