Added detection of borked MessagingFactory instances.
Private static field naming.