You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Mark Keenan (JIRA)" <ji...@apache.org> on 2008/09/05 21:07:52 UTC

[jira] Created: (AMQNET-111) Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()

Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()
------------------------------------------------------------------------

                 Key: AMQNET-111
                 URL: https://issues.apache.org/activemq/browse/AMQNET-111
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ Client
            Reporter: Mark Keenan
            Assignee: James Strachan
            Priority: Minor


I have observed that messages are received on a connection before the connection is started.  

Please see this Spring.NET forum post for details:

http://forum.springframework.net/showpost.php?p=13233&postcount=4



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AMQNET-111) Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()

Posted by "Mark Keenan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Keenan reopened AMQNET-111:
--------------------------------


I don' t think this is fixed yet. My consumer is still receiving messages on a connection that has not been started. I am not too familiar with the source but I did step through it in the debugger and I found that:

In MessageConsumer.cs (line 93)

session.StartAsyncDelivery(dispatcher);

occurs when a message listener is added to a consumer.

Dispatcher.cs has a private boolean named "m_bAsyncDelivery", but this variable is not tested in Session.cs in the StartAsyncDelivery() method (starting line 607)



> Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()
> ------------------------------------------------------------------------
>
>                 Key: AMQNET-111
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-111
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Mark Keenan
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.0
>
>
> I have observed that messages are received on a connection before the connection is started.  
> Please see this Spring.NET forum post for details:
> http://forum.springframework.net/showpost.php?p=13233&postcount=4

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQNET-111) Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-111.
------------------------------

         Assignee: Jim Gomes  (was: James Strachan)
    Fix Version/s: 1.0
       Resolution: Fixed

Changed default value of started for the Connection to false.

> Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()
> ------------------------------------------------------------------------
>
>                 Key: AMQNET-111
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-111
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Mark Keenan
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.0
>
>
> I have observed that messages are received on a connection before the connection is started.  
> Please see this Spring.NET forum post for details:
> http://forum.springframework.net/showpost.php?p=13233&postcount=4

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQNET-111) Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-111.
------------------------------

    Resolution: Fixed

Fixed the MessageConsumer.Listener to only register the async event handler and to not start async delivery.

> Constructor for Apache.NMS.ActiveMQ.Connection invokes transport.Start()
> ------------------------------------------------------------------------
>
>                 Key: AMQNET-111
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-111
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Mark Keenan
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.0
>
>
> I have observed that messages are received on a connection before the connection is started.  
> Please see this Spring.NET forum post for details:
> http://forum.springframework.net/showpost.php?p=13233&postcount=4

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.