You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2010/05/26 07:32:32 UTC

[jira] Commented: (AXIS2-4724) Add Multicast Capabilities to the UDP Transport

    [ https://issues.apache.org/jira/browse/AXIS2-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871509#action_12871509 ] 

Hiranya Jayathilaka commented on AXIS2-4724:
--------------------------------------------

I was able to add multicast support to the existing UDP sender without much trouble. But in the listener side I'm facing some issues. The existing listener is using Java NIO datagram channels to receive UDP messages (java.nio.channels API). But this API does not support multicasting (see [1][2] for details). It seems this API will not support multicasting until JDK 1.7. 

As a solution I have implemented a new transport listener (MulticastUDPListener),  a new IO dispatcher (MulticastIODispatcher) and a new endpoint (MulticastEndpoint). Do you see any other way of implementing multicast support for the listener? Or at least some mechanism for merging the new IO dispatcher and the endpoint with the existing listener?

[1] - http://forums.sun.com/thread.jspa?threadID=5225740
[2] - http://blogs.sun.com/alanb/entry/multicasting_with_nio

> Add Multicast Capabilities to the UDP Transport
> -----------------------------------------------
>
>                 Key: AXIS2-4724
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4724
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Hiranya Jayathilaka
>             Fix For: 1.6
>
>
> With this improvement Axis2 will be able to receive SOAP messages from multicast groups and send requests to multicast groups. Also we will be able to support multicast request - unicast response MEP. I will attach the patch soon.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org