Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9204

Provide AMQP component factory method for AMQP 1.0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.1, 2.17.0
    • None
    • None
    • Unknown

    Description

      Currently our documentation says that we should configure topic prefix when working with AMQP 1.0.

      <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>
      

      We should provide factory method which creates pre-configured component that can be used with AMQP 1.0.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hekonsek Henryk Konsek
            hekonsek Henryk Konsek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment