activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Commented: (AMQNET-254) Implement a 'failover' transport for STOMP-provider (similar to the ActiveMq-provider)
Date Wed, 26 May 2010 19:39:53 GMT


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:
>             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.

View raw message