public class SpringMessageProcessorRegistryFactory extends Object
SpringMessageProcessorRegistryFactory class creates a registry that contains
automatically discovered classes that implement MessageProcessor interface.
In order to be discovered,
these handlers have to be in the Application Context (i.e., Spring Context). This can be
accomplished by marking processor classes with Service,
or Component, etc.
| Constructor and Description |
|---|
SpringMessageProcessorRegistryFactory() |
| Modifier and Type | Method and Description |
|---|---|
static MessageProcessorRegistry |
discoverMessageProcessorsAndCreateRegistry(org.springframework.context.ApplicationContext springContext)
Invokes automatic discovery of message processors in the system and registers them in the
message processor registry, which is what is returned to the caller of this method.
|
public SpringMessageProcessorRegistryFactory()
public static MessageProcessorRegistry discoverMessageProcessorsAndCreateRegistry(org.springframework.context.ApplicationContext springContext)
springContext - Spring Application Context.MessageProcessors.Copyright © 2018. All rights reserved.