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

camel-example-spring-jms failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.10.5, 2.11.0
    • None
    • None
    • Unknown

    Description

      Client and Server using different port numbers:

      Server:

      2013-04-14 12:54:55,416 [ing.Main.main()] INFO  BrokerService                  - Using Persistence Adapter: MemoryPersistenceAdapter
      2013-04-14 12:54:55,431 [JMX connector  ] INFO  ManagementContext              - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
      2013-04-14 12:54:55,560 [ing.Main.main()] INFO  BrokerService                  - Apache ActiveMQ 5.8.0 (myBroker, ID:christians-macbook-pro.fritz.box-56795-1365936895431-0:1) is starting
      2013-04-14 12:54:55,567 [ing.Main.main()] INFO  TransportConnector             - Connector vm Started
      2013-04-14 12:54:55,575 [ing.Main.main()] INFO  TransportServerThreadSupport   - Listening for connections at: tcp://localhost:1101
      2013-04-14 12:54:55,575 [ing.Main.main()] INFO  TransportConnector             - Connector tcp Started
      

      Client

      cmueller$ mvn exec:java -PCamelClient
      ...
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project camel-example-spring-jms: An exception occured while executing the Java class. null: InvocationTargetException: Exception occurred during execution on the exchange: Exchange[Message: 22]: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61610. Reason: java.net.ConnectException: Connection refused -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              bvahdat Babak Vahdat
              muellerc Christian Müller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: