Announcement Announcement Module
No announcement yet.
Why is applicationContext private? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why is applicationContext private?

    Is there a reason the applicationContext in AbstractAmqpConfiguration is private? I'm trying to configure a spring-amqp project and I'm having to override setApplicationContext to get my own reference to the appCtx (in addition to the one managed by the base class for use in automagically declaring queues/exchanges, etc...)

    I'm trying to separate things that can be configured on a per-system basis into an XML config file and use the annotation configuration for other stuff. But to configure my beans in the annotation configuration-powered bean, I need to access things that have already been configured in my XML file (like connectionfactory et al).