Tweak Java messaging integration test.