@Override public MqttSourceBuilder address(final String address) { delegateBuilder.address(address); return this; }
@Override public MqttSourceBuilder address(final String address) { delegateBuilder.address(address); 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(); }