CAMEL-4273: Use static memeber classes if applicable. ThAllow the GC to claim the resources sooner. Thanks to Babak for the patch.