Removed bean declarations. They were overriding the bean declarations created from the annotations
Changed 'out' channel to a queue so that it can be polled and we can get a message out of it