[JIRA] (COMETD-369) Ability to remove channel from service using removeService method.

1 view
Skip to first unread message

jasonwkolb (Created) (JIRA)

unread,
Apr 27, 2012, 2:06:25 PM4/27/12
to comet...@googlegroups.com
Ability to remove channel from service using removeService method.
------------------------------------------------------------------

Key: COMETD-369
URL: http://bugs.cometd.org/browse/COMETD-369
Project: CometD
Issue Type: New Feature
Components: java-server
Reporter: jasonwkolb


I'm attaching a service to a channel using

this.addService(channelName, "messageReceived");

What I want to do is something like:

this.removeService( channelName )

Which would hopefully only remove the service from the specified channel but leaves the service and all other subscriptions intact.Calling getLocalSession().disconnect() will completely disconnect the service from all channels. This is not the desired behavior, so a removeService method is requested.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: http://bugs.cometd.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Simone Bordet (Resolved) (JIRA)

unread,
May 15, 2012, 10:34:26 AM5/15/12
to comet...@googlegroups.com

[ http://bugs.cometd.org/browse/COMETD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Bordet resolved COMETD-369.
----------------------------------

Assignee: Simone Bordet
Fix Version/s: 2.4.2
2.5.0
Resolution: Fixed

Fixed. Added two methods to AbstractService, namely removeService(String channel) and removeService(String channel, String method).

> Ability to remove channel from service using removeService method.
> ------------------------------------------------------------------
>
> Key: COMETD-369
> URL: http://bugs.cometd.org/browse/COMETD-369
> Project: CometD
> Issue Type: New Feature
> Components: java-server
> Reporter: jasonwkolb
> Assignee: Simone Bordet
> Fix For: 2.4.2, 2.5.0
Reply all
Reply to author
Forward
0 new messages