RMI

RMI

Scheme: rmi
Syntax: rmi:hostname:port/name
Description: The rmi component is for invoking Java RMI beans from Camel.
Deprecated:false
Maven: org.apache.camel/camel-rmi/2.17.0.redhat-630310

The rmi component is for invoking Java RMI beans from Camel.

Name Kind Group Required Default Type Enum Description
hostname path common localhost java.lang.String Hostname of RMI server
name path common true java.lang.String Name to use when binding to RMI server
port path common 1099 int Port number of RMI server
method parameter common java.lang.String You can set the name of the method to invoke.
remoteInterfaces parameter common java.util.List> To specific the remote interfaces.
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.
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).

rmi consumer

A {@link org.apache.camel.Consumer Consumer} which uses RMI's {@link UnicastRemoteObject} to consume method invocations.