title: Spring embedded ActiveMQ, how to configure queue
body: <p>I define the <code>ActiveMQConnectionFactory</code> in the Spring context, and define it as a Camel Component as follows</p>
  
  <pre><code>@Bean
  @Qualifier("jms1")
  public JmsComponent jms1() {
      ConnectionFactory f = new ActiveMQConnectionFactory("vm://localhost:7777");
      return JmsComponent.jmsComponentAutoAcknowledge(f);
  }
  </code></pre>
  
  <p>Spring will automatically start ActiveMQ JMS server on the local VM, listening on port 7777. But how do I configure a named queue on the server? I would like to <code>@Autowire</code> the queue anywhere I need it, like retrieving it from JNDI in the Java EE world.</p>