Package org.springframework.cloud.stream.test.binder
package org.springframework.cloud.stream.test.binder
-
ClassDescriptionMaintains a map between (output) channels and messages received (in FIFO order).Automatically registers the
MessageCollectorassociated with the test binder as a bean.AnEnvironmentPostProcessorthat sets some configuration properties forTestSupportBinder.A minimal binder that does nothing about binding consumers, leaving the channel as-is, so that a test author can interact with it directly, registers a queue channel on the producer side, so that it is easy to assert what is received.Installs the TestSupportBinder} and exposes MessageCollectorImplto be injected in tests.BinderConfigurationfor theTestSupportBinderEither imported by theTestSupportBinderAutoConfigurationfor the test binder default usage scenario (superseding all binders on the classpath), or used as a binder configuration on the classpath when test binder autoconfiguration is disabled.