Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-366

createConnection() fails if given an ip address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.5
    • 3.4.0
    • None
    • None
    • windows 7, visual studio 2008 sp1, apr 1.4.2

    Description

      If I pass an ip address to createConnection(), it fails with this exception message:

      Input: 172.16.1.1:61616, Index 0 resulted in this error: Schema must start with a Letter.The program '[3144] testd.exe: Native' has exited with code -1 (0xffffffff).

      My relevant code snippet looks like:

         string brokerURI = "tcp://172.16.1.1:61616";
      
         activemq::core::ActiveMQConnectionFactory * connectionFactory = NULL;
      
         try
         {
            // Create a ConnectionFactory
            connectionFactory = new activemq::core::ActiveMQConnectionFactory( brokerURI );
      
            // Create a Connection
            pimpl->m_connection = connectionFactory->createConnection();  // exception here
            pimpl->m_connection->start();
      
            ...
         }
      

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            fasteddie Eddie Fast
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: