You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2015/10/09 10:07:26 UTC

[jira] [Resolved] (CAMEL-9204) Provide AMQP component factory method for AMQP 1.0

     [ https://issues.apache.org/jira/browse/CAMEL-9204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henryk Konsek resolved CAMEL-9204.
----------------------------------
    Resolution: Fixed

Fixed in 8b4b19faffd17f281db1a24ad5d32e497d35e940.

Users can now call the {{AMQPComponent#amqp10Component(String uri)}} method to create the pre-configured AMQP 1.0 component.

> Provide AMQP component factory method for AMQP 1.0
> --------------------------------------------------
>
>                 Key: CAMEL-9204
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9204
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.17.0
>
>
> Currently our documentation says that we should configure topic prefix when working with AMQP 1.0.
> {code}
> <bean id="amqpConnection" class="org.apache.camel.component.jms.JmsComponent" >
>        <property name="connectionFactory">
>          <bean class="org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl" factory-method="createFromURL">
>                        <constructor-arg index="0" type="java.lang.String" value="amqp://localhost:5672" />
>            <property name="topicPrefix" value="topic://" />  <!-- only necessary when connecting to ActiveMQ over AMQP 1.0 -->
>           </bean>
>        </property>
>    </bean>
> {code}
> We should provide factory method which creates pre-configured component that can be used with AMQP 1.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)