Interface EventProcessorHost.EventProcessorHostBuilder.OptionalStep

    • Method Detail

      • setTransportType

        EventProcessorHost.EventProcessorHostBuilder.OptionalStep setTransportType​(TransportType transportType)
        TransportType for connections to the Event Hubs service. Defaults to TransportType.AMQP. The transport type can also be set in the Event Hub connection string. The value set here will override the value in the connection string, if any.
        Parameters:
        transportType - desired transport type
        Returns:
        interface for setting optional values
      • setOperationTimeout

        EventProcessorHost.EventProcessorHostBuilder.OptionalStep setOperationTimeout​(Duration operationTimeout)
        The timeout for Event Hubs operations. Defaults to MessagingFactory.DefaultOperationTimeout. The timeout can also be set in the Event Hub connection string. The value set here will override the value in the connection string, if any.
        Parameters:
        operationTimeout - desired timeout
        Returns:
        interface for setting optional values
      • build

        EventProcessorHost build()
        After setting all desired optional values, call this method to build an EventProcessorHost instance.
        Returns:
        new EventProcessorHost instance