camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samel <sameer.pa...@lmco.com>
Subject camel-netty consumer with multicast address
Date Thu, 18 Jul 2013 02:06:34 GMT
Hello all,

I'm using Camel 2.11.0 and trying to use camel-netty to listen on a true
multicast UDP address (224.0.0.0 through 239.255.255.255 -
http://en.wikipedia.org/wiki/Multicast_address).  I don't see any exception
but I'm unable to get an messages through either. However, if I use
non-multicast addresses such as localhost or my own IP, things seem to work.
Does anybody have experience with this and any pointers?  Thanks in advance.

Here are my observiations

Environment
===================================================
Karaf 2.3.1
Java 7
Camel 2.11.0

Experiment #1:  Localhost
===================================================

Route
-------
<route>
     <from
uri="netty:udp://localhost:8001?allowDefaultCodec=false&amp;sync=false&amp;broadcast=true"/>
</route>

Sending URL
---------------
Client sending to udp://localhost:8001

Result
--------
SUCCESS

Experiment #2:  Local IP Address
===================================================

Route
-------
<route>
     <from uri=&quot;netty:udp://&lt;IP
ADDRESS>:8001?allowDefaultCodec=false&amp;sync=false&amp;broadcast=true"/>
</route>

Sending URL
---------------
Client sending to udp://<IP ADDRESS>:8001

Result
--------
SUCCESS

Experiment #3:  Multicast Address
===================================================

Route
-------
<route>
     <from
uri="netty:udp://225.1.1.1:8001?allowDefaultCodec=false&amp;sync=false&amp;broadcast=true"/>
</route>

Sending URL
---------------
Client sending to udp://225.1.1.1:8001

Result
--------
FAIL




--
View this message in context: http://camel.465427.n5.nabble.com/camel-netty-consumer-with-multicast-address-tp5735823.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message