Search in sources :

Example 1 with OutgoingConnectorFactory

use of org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory in project helidon by oracle.

the class ChannelRouter method addIncomingConnector.

private void addIncomingConnector(Bean<?> bean) {
    OutgoingConnectorFactory outgoingConnectorFactory = lookup(bean, beanManager);
    String connectorName = bean.getBeanClass().getAnnotation(Connector.class).value();
    IncomingConnector incomingConnector = new IncomingConnector(connectorName, outgoingConnectorFactory, this);
    incomingConnectorMap.put(connectorName, incomingConnector);
}
Also used : Connector(org.eclipse.microprofile.reactive.messaging.spi.Connector) OutgoingConnectorFactory(org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory)

Aggregations

Connector (org.eclipse.microprofile.reactive.messaging.spi.Connector)1 OutgoingConnectorFactory (org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory)1