You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andreas Ländle (JIRA)" <ji...@apache.org> on 2010/05/21 15:23:51 UTC

[jira] Created: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)

Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
--------------------------------------------------------------------------------------

                 Key: AMQNET-254
                 URL: https://issues.apache.org/activemq/browse/AMQNET-254
             Project: ActiveMQ .Net
          Issue Type: Wish
          Components: NMS
            Reporter: Andreas Ländle
            Assignee: Jim Gomes
            Priority: Minor


The NMS implementation for the OpenWire protocol directly supports 'failover' - it would be a nice feature if the STOMP provider also supports 'failover'.
As always - please let me know if i was unclear or if i should provide better/more information. Also excuse my bad English.

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


[jira] Assigned: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)

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

Timothy Bish reassigned AMQNET-254:
-----------------------------------

    Assignee: Timothy Bish  (was: Jim Gomes)

> Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
> --------------------------------------------------------------------------------------
>
>                 Key: AMQNET-254
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-254
>             Project: ActiveMQ .Net
>          Issue Type: Wish
>          Components: NMS
>            Reporter: Andreas Ländle
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> The NMS implementation for the OpenWire protocol directly supports 'failover' - it would be a nice feature if the STOMP provider also supports 'failover'.
> As always - please let me know if i was unclear or if i should provide better/more information. Also excuse my bad English.

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


[jira] Commented: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59550#action_59550 ] 

Timothy Bish commented on AMQNET-254:
-------------------------------------

Failover for a Stomp client is a bit tricky since the Stomp protocol doesn't have the concept of fault tolerance built in, there's not a simple means of restoring the active sessions / subscriptions / transactions that were in place when the connection died.  To make things more interesting there's also no heartbeat mechanism to test if a connection is alive or not so you are left with using some timeout to determine if the connection is dead which can lead to needless failover for clients that are simply inactive.   

It could be done although on a more simplistic form that what's in the ActiveMQ client, the failover would need to purge any pending messages and transaction state info for the client and resubscribe for all the active consumers.  

You could take a look at the FailoverTransport and Inactivity monitor classes in NMS.ActiveMQ and contribute a scaled down version of these to the project, we love contributions.


> Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
> --------------------------------------------------------------------------------------
>
>                 Key: AMQNET-254
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-254
>             Project: ActiveMQ .Net
>          Issue Type: Wish
>          Components: NMS
>            Reporter: Andreas Ländle
>            Assignee: Jim Gomes
>            Priority: Minor
>
> The NMS implementation for the OpenWire protocol directly supports 'failover' - it would be a nice feature if the STOMP provider also supports 'failover'.
> As always - please let me know if i was unclear or if i should provide better/more information. Also excuse my bad English.

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


[jira] Resolved: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)

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

Timothy Bish resolved AMQNET-254.
---------------------------------

    Resolution: Fixed

Added a basic Failover Transport in trunk.

It should be noted that Failover in Stomp is limited compared to that of the ActiveMQ client, the Stomp version really just reconnects and resubscribes the Consumers to a new broker, transaction recovery and other features that the ActiveMQ client supports aren't really available with Stomp.

> Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
> --------------------------------------------------------------------------------------
>
>                 Key: AMQNET-254
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-254
>             Project: ActiveMQ .Net
>          Issue Type: Wish
>          Components: NMS
>            Reporter: Andreas Ländle
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> The NMS implementation for the OpenWire protocol directly supports 'failover' - it would be a nice feature if the STOMP provider also supports 'failover'.
> As always - please let me know if i was unclear or if i should provide better/more information. Also excuse my bad English.

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


[jira] Updated: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)

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

Timothy Bish updated AMQNET-254:
--------------------------------

    Fix Version/s: 1.4.0

> Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
> --------------------------------------------------------------------------------------
>
>                 Key: AMQNET-254
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-254
>             Project: ActiveMQ .Net
>          Issue Type: Wish
>          Components: NMS
>            Reporter: Andreas Ländle
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> The NMS implementation for the OpenWire protocol directly supports 'failover' - it would be a nice feature if the STOMP provider also supports 'failover'.
> As always - please let me know if i was unclear or if i should provide better/more information. Also excuse my bad English.

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