Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4433

camel-mqtt-binding not working on Fuse

    XMLWordPrintable

Details

    • % %
    • Hide

      1. mvn clean install
      2. add transportConnector to activemq.xml
      3. in fuse "features:install switchyard-quickstart-camel-mqtt-binding"

      Show
      1. mvn clean install 2. add transportConnector to activemq.xml 3. in fuse "features:install switchyard-quickstart-camel-mqtt-binding"
    • 6.3 Sprint 1 (4-Jan->29-Jan)

    Description

      After following instructions in readme and installing quickstart feature I get this error in log:

      13:25:03,399 | INFO  | yard Extender: 1 | MQTTEndpoint                     | 324 - org.apache.camel.camel-mqtt - 2.15.1.redhat-621070 | Connecting to tcp://127.0.0.1:1883 using 10 seconds timeout
      13:25:03,449 | WARN  | 0.0.1:56375@1883 | TransportConnection              | 141 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-621070 | Failed to add Connection ID:jan-ThinkPad-T450s-60281-1447676691025-2:1 due to java.lang.SecurityException: User name [karaf] or password is invalid.
      13:25:03,450 | WARN  | 0.0.1:56375@1883 | Service                          | 141 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-621070 | Security Error occurred on connection to: tcp://127.0.0.1:56375, User name [karaf] or password is invalid.
      13:25:03,455 | WARN  | spatch-DEFAULT-2 | MQTTEndpoint                     | 324 - org.apache.camel.camel-mqtt - 2.15.1.redhat-621070 | Failed to connect to tcp://127.0.0.1:1883 due Could not connect: CONNECTION_REFUSED_NOT_AUTHORIZED
      13:25:03,459 | ERROR | yard Extender: 1 | SwitchYardExtender               | 309 - org.switchyard.karaf.switchyard-karaf-deploy - 2.0.1.redhat-621070 | Unable to start switchyard for bundle org.switchyard.quickstarts.switchyard.camel.mqtt.binding
      org.switchyard.SwitchYardException: java.io.IOException: Could not connect: CONNECTION_REFUSED_NOT_AUTHORIZED
      	at org.switchyard.component.camel.common.handler.InboundHandler.<init>(InboundHandler.java:74)[318:org.switchyard.components.switchyard-component-common-camel:2.0.1.redhat-621070]
      	at org.switchyard.component.camel.mqtt.deploy.CamelMqttInboundHandler.<init>(CamelMqttInboundHandler.java:49)[325:org.switchyard.components.switchyard-component-camel-mqtt:2.0.1.redhat-621070]
      	at org.switchyard.component.camel.mqtt.deploy.CamelMqttActivator.createInboundHandler(CamelMqttActivator.java:42)[325:org.switchyard.components.switchyard-component-camel-mqtt:2.0.1.redhat-621070]
      	at org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:43)[318:org.switchyard.components.switchyard-component-common-camel:2.0.1.redhat-621070]
      

      is there a user that has to be added to users.properties? or some additional step to do?

      Also, the Readme.md is quite outdated, according to it i have to change broker.xml file, but tak doesnt exist, there is only activemq.xml. There is no Expected Output section.

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: