Moved Publisher,made eventProducer Optional & Removed Type Casting.

Moved Publisher out of common-proxy-config to spring-proxy-configs so producer-consumer lie in same context.

Removed Type Casts to get Source Event.

Made eventProducer Optional, in case it is not declared event publishing will be skipped.