[jira] Created: (AMQ-1131) Cannot connect to ActiveMQ 4.1.0 with C# NMS client

2007-01-17 Thread Pascal ST-LAURENT (JIRA)
Cannot connect to ActiveMQ 4.1.0 with C# NMS client
---

 Key: AMQ-1131
 URL: https://issues.apache.org/activemq/browse/AMQ-1131
 Project: ActiveMQ
  Issue Type: Bug
  Components: NMS (C# client)
Affects Versions: 4.1.0
 Environment: Windows XP SP2
Reporter: Pascal ST-LAURENT
Priority: Blocker


It is impossible to connect to ActiveMQ 4.1.0 broker with C# NMS client.

Here is the problem:

// START SNIPPET: demo
IConnectionFactory factory = new ConnectionFactory(new 
Uri(tcp://localhost:61616));

using (IConnection connection = factory.CreateConnection())
{
 Console.WriteLine(Created a connection!);

 ISession session = connection.CreateSession(); //--- hangs here.
 ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (AMQ-1101) Problem when compiling vs2005-activemq project with unsafe method call

2006-12-18 Thread Pascal ST-LAURENT (JIRA)
Problem when compiling vs2005-activemq project with unsafe method call
--

 Key: AMQ-1101
 URL: https://issues.apache.org/activemq/browse/AMQ-1101
 Project: ActiveMQ
  Issue Type: Bug
  Components: NMS (C# client)
Affects Versions: 4.0
 Environment: Windows XP, SP2
Reporter: Pascal ST-LAURENT


In vs2005-activemq project, 
src/main/csharp/ActiveMQ/Commands/ActiveMQTextMessage.cs file, Text property.

Must use Marchal.SizeOf() method instead of sizeof(). In this case, we don't 
need to specified to build the project with unsafe directive and uses only 
managed code.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira