Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4421

null failedMessage with QueueChannel and CachingSessionFactory

    XMLWordPrintable

    Details

      Description

      No failedMessage is populated when using a caching session factory.

      ErrorMessage [payload=org.springframework.messaging.MessagingException: Failed to obtain pooled item; nested exception is java.lang.IllegalStateException: failed to create SFTP Session, headers={id=066f098b-5c6d-f2f2-0316-c42c7d7497aa, timestamp=1520000712183}] for original GenericMessage [payload=byte[3], headers={id=f35a205b-e6e4-c8d4-e843-5b18dd3de6a8, timestamp=1520000712132}]
      

      With a DirectChannel we get a failed message (populated by some down-stack try/catch).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: