Google Login

Google Login

Scheme: glogin
Syntax: glogin:hostName
Description: The GLogin Component encapsulates the required steps needed to login to an Google App Engine (GAE) application. This component uses a href=http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html ClientLogin for authentication and a GAE-specific mechanism for authorization. Result of the login procedure is an authorization cookie that should be included in HTTP requests targeted at GAE applications. This component is intended for being used by Java client applications that want to do a programmatic login to GAE applications. Web applications should use the GAuthComponent for access authorization to other web applications.
Maven: org.apache.camel/camel-gae/2.16.2

Represents a GLogin Endpoint.

Name Kind Group Required Default Type Enum Description
hostName path producer true java.lang.String Returns the internet hostname of the GAE application where to login.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
clientName parameter producer java.lang.String Sets the client name used for authentication. The default name is apache-camel-2.x.
devAdmin parameter producer boolean Set to true for logging in as admin to a development server. Only used if {@link #devMode} is true. Default is false.
devMode parameter producer boolean Set to true for connecting to a development server.
devPort parameter producer int Returns the port for connecting to a development server. Only used if {@link #devMode} is true. Default is 8080.
password parameter producer java.lang.String Sets the login password.
userName parameter producer java.lang.String Sets the login username (a Google mail address).
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).