While mocking the HazelcastInstance objects in the test cases, I ran into an interesting problem. The HazelcastInstanceConsumerTest was @Ignored, stating that it messed up subsequent tests. Now that I'm not using "live" HazelcastInstances, there is no reason to @Ignore them anymore. However, when trying to get the tests to pass, I noticed a strange irregularity. The route used to test the consumer relied upon a header being set. The header was being set on the "out" message, but the route was looking for it on the "in" message. Since everything was ignored, we never ran into this before. I changed the code to write "in" message headers instead and the test started working. This *is* a regression and we can change it back (or perhaps write the headers to the "out" message also) if need be, but I believe the intent was to have the headers on the in message. How likely do we think it is that folks are relying upon the "bug" functionality?
James