/** * Creates a new instance of an AMQP 1.0 protocol handler for Hono's <em>Tenant</em> API. * * @return The handler. */ @Bean @Scope("prototype") public TenantAmqpEndpoint tenantAmqpEndpoint() { return new TenantAmqpEndpoint(vertx()); }
/** * Creates a new instance of an AMQP 1.0 protocol handler for Hono's <em>Tenant</em> API. * * @return The handler. */ @Bean @Scope("prototype") public TenantAmqpEndpoint tenantAmqpEndpoint() { return new TenantAmqpEndpoint(vertx()); }
/** * Sets up the fixture. */ @Before public void setUp() { when(vertx.eventBus()).thenReturn(eventBus); endpoint = new TenantAmqpEndpoint(vertx); }