@Override public MqttSourceBuilder index(final int index) { delegateBuilder.index(index); return this; }
@Override public MqttSourceBuilder index(final int index) { delegateBuilder.index(index); return this; }
/** * 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) .enforcement(readEnforcement) .headerMapping(readHeaderMapping)
.authorizationContext(readAuthorizationContext) .consumerCount(readConsumerCount) .index(index) .enforcement(readEnforcement) .headerMapping(readHeaderMapping)