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

XChange component may fail in context.start()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • fuse-7.11-GA
    • None
    • Fuse EAP
    • None
    • False
    • False
    • % %
    • Todo

      Camel now seems to initialize the remote endpoint eagerly in context.start()

      Caused by: org.knowm.xchange.exceptions.ExchangeException: Failed to initialize: Connection refused (Connection refused)
      	at org.apache.camel.component.xchange//org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:142)
      	at org.apache.camel.component.xchange//org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:115)
      	at org.apache.camel.component.xchange//org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:108)
      	at org.apache.camel.component.xchange//org.apache.camel.component.xchange.XChangeComponent.createXChange(XChangeComponent.java:66)
      	at org.apache.camel.component.xchange//org.apache.camel.component.xchange.XChangeComponent.createEndpoint(XChangeComponent.java:44)
      	at org.apache.camel.core@2.23.2.fuse-7_10_0-00004//org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:126)
      	at org.apache.camel.core@2.23.2.fuse-7_10_0-00004//org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:706)
      	... 157 more
      

            Unassigned Unassigned
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: