I\'m using Spring to inject JMS connection factory into my Java application. Since this factory is only required within the production environment, not while I\'m developing
Can you make use of the special bean element ? e.g.
from the doc, section 3.3.2.5