@Override public MqttSourceBuilder authorizationContext(final AuthorizationContext authorizationContext) { delegateBuilder.authorizationContext(authorizationContext); return this; }
@Override public MqttSourceBuilder authorizationContext(final AuthorizationContext authorizationContext) { delegateBuilder.authorizationContext(authorizationContext); return this; }
/** * Creates a new {@link Source}. * * @param authorizationContext the authorization context * @param address the source address where messages are consumed from * @return the created {@link Source} */ public static Source newSource(final AuthorizationContext authorizationContext, final String address) { return newSourceBuilder().address(address).authorizationContext(authorizationContext).build(); }
/** * Creates a new {@link Source}. * * @param authorizationContext the authorization context * @param address the source address where messages are consumed from * @return the created {@link Source} */ public static Source newSource(final AuthorizationContext authorizationContext, final String address) { return newSourceBuilder().address(address).authorizationContext(authorizationContext).build(); }
/** * Creates a new {@link Source}. * * @param authorizationContext the authorization context * @param address the source address where messages are consumed from * @param index the index inside the connection * @return the created {@link Source} */ public static Source newSource(final AuthorizationContext authorizationContext, final String address, final int index) { return newSourceBuilder().address(address).authorizationContext(authorizationContext).index(index).build(); }
/** * Creates a new {@link Source}. * * @param authorizationContext the authorization context * @param address the source address where messages are consumed from * @param index the index inside the connection * @return the created {@link Source} */ public static Source newSource(final AuthorizationContext authorizationContext, final String address, final int index) { return newSourceBuilder().address(address).authorizationContext(authorizationContext).index(index).build(); }
.authorizationContext(readAuthorizationContext) .consumerCount(readConsumerCount) .index(index)
.authorizationContext(readAuthorizationContext) .consumerCount(readConsumerCount) .index(index)