Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-93

Re-establish connection when needed

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.0.0.M1
    • Fix Version/s: 1.0.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      org.springframework.amqp.rabbit.connection.SingleConnectionFactory may lost connection. In that case it needs to re-establish it.

      "com.rabbitmq.client.AlreadyClosedException: clean connection shutdown; reason: Attempt to use closed connection"
      ,"com.rabbitmq.client.impl.AMQConnection.ensureIsOpen(AMQConnection.java:141)"
      ,"com.rabbitmq.client.impl.AMQConnection.createChannel(AMQConnection.java:384)"
      ,"org.springframework.amqp.rabbit.connection.SingleConnectionFactory.createChannel(SingleConnectionFactory.java:126)"
      ,"org.springframework.amqp.rabbit.connection.SingleConnectionFactory.getChannel(SingleConnectionFactory.java:121)"
      ,"org.springframework.amqp.rabbit.connection.SingleConnectionFactory$SharedConnectionInvocationHandler.invoke(SingleConnectionFactory.java:279)"
      ,"$Proxy115.createChannel(Unknown Source)"
      ,"org.springframework.amqp.rabbit.support.RabbitAccessor.createChannel(RabbitAccessor.java:99)"

        Attachments

          Activity

            People

            • Assignee:
              david_syer Dave Syer
              Reporter:
              yamanyar Kaan Yamanyar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25d
                0.25d
                Remaining:
                Remaining Estimate - 0.25d
                0.25d
                Logged:
                Time Spent - Not Specified
                Not Specified