Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Multicast based notifications

I have trouble to get multicast based notifications to work. For troubleshooting i created a small test class to see if I could get one message sent over multicast. But I just can't get it to work.

The code I'm refering to below is attached, and can also be seen in this gist:

[ https://gist.github.com/1253041 ]

The test creates an in memory partitioned space with two partitions and no backup. I have enabled a MulticastNotifyWorker for the space. It then writes a message to the space and verifies that the listener has received the message. The first test passes ("unicastBasedNotificationTest"), which of course uses unicast as communication protocol. The second test,"multicastBasedNotificationTest", fails. It does not receive any messages and therefore times out.

I have checked that multicast works on my local machine (by using the gs admin multicastTest tool). Any suggestions why the multicast based test fails? I run the test against the 8.0.1 version of gigaspaces.

/Elias h4. Attachments

[MulticastBasedNotificationTest.java|/upfiles/1375970341292371.txt]

[Message.java|/upfiles/13759703419893413.txt]

[MulticastBasedNotificationTest.java|/upfiles/1375970341947513.txt]

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3758]{quote}

asked 2011-09-30 03:21:50 -0500

eliaslindholm gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Please submit the case to the support team.
Shay

answered 2011-10-12 06:26:15 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

There was a small bug in the MulticastBasedNotificationTest (the messageWithRoutingId factory method did not use the routingId argument). The bug did not affect the outcome of the test though. I have attached a corrected version of the test, and updated the gist. The question remains the same... h4. Attachments

[MulticastBasedNotificationTest.java|/upfiles/13759703417910234.txt]

answered 2011-09-30 03:50:06 -0500

eliaslindholm gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-09-30 03:21:50 -0500

Seen: 28 times

Last updated: Sep 30 '11