RMI

RMI

Description: Camel RMI support
Scheme: rmi
Syntax: rmi:hostname:port/name
Maven: org.apache.camel/camel-rmi/2.16.1

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.
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.