As I was looking through the documentation on spring integration's outbound channel adapter I saw that the amqp-template was an optional field. I also noticed that the exchange name and routing key appear on both the Rabbit Template and the outbound channel adapter.
If I did not provide an amqp-template what would the adapter use for the connection factory.
AND
If I specified 1 set of properties in the rabbit template and another in the outbound channel adapter and then gave the outbound channel adapter the rabbit template, which properties would be used? (Not that I would do that I am just curious which component gets their properties used over the other)