5 Replies Latest reply on May 17, 2007 12:55 PM by Tim Fox

    JGroups configuration (JBMESSAGING-960)

    Sergey Koshcheyev Newbie

      I removed all bind_addr attributes from clustered XML files since normally the bind address would be set for us by JBoss AS through system properties that JGroups will pick up.

      I added a test case that checks that JGroups for the post office is configured correctly (more test methods can be added to it), according to what Brian described in http://jira.jboss.com/jira/browse/JBMESSAGING-960.

      I don't like the way the test looks now though since it has to access post office private fields through reflection. And at this point the test basically only tests JGroups functionality (possibly also making sure Messaging doesn't prevent JGroups from doing the right thing). I doubt this is actually something we need to test.