Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
127 lines (77 sloc) 4.72 KB

IEC 60870-5-104 Client Component

Available as of Camel 2.20

The IEC 60870-5-104 Client component provides access to IEC 60870 servers using the Eclipse NeoSCADA™ implementation.

Java 8: This component requires Java 8 at runtime.

Maven users will need to add the following dependency to their pom.xml for this component:

<dependency>
    <groupId>de.dentrassi.camel</groupId>
    <artifactId>de.dentrassi.camel.iec60870</artifactId>
    <version><!-- your Apache Camel version--></version>
</dependency>

The IEC 60870-5-104 client component supports 1 options which are listed below.

Name Java Type Description

defaultConnectionOptions

T2

Default connection options

URI format

The URI syntax of the endpoint is:

iec60870-client://host:port/00-01-02-03-04

The information object address is encoded in the path in the syntax shows above. Please note that always the full, 5 octet address format is being used. Unused octets have to be filled with zero.

URI options

The IEC 60870-5-104 client component supports 13 endpoint options which are listed below:

Name Group Default Java Type Description

uriPath

common

ObjectAddress

Required The object information address

dataModuleOptions

common

DataModuleOptions

Data module options

protocolOptions

common

ProtocolOptions

Protocol options

bridgeErrorHandler

consumer

false

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

consumer (advanced)

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

advanced

InOnly

ExchangePattern

Sets the default exchange pattern when creating an exchange

synchronous

advanced

false

boolean

Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported).

adsuAddressType

connection

ASDUAddressType

The common ASDU address size

causeOfTransmissionType

connection

CauseOfTransmissionType

The cause of transmission type

ignoreDaylightSavingTime

connection

false

boolean

Whether to ignore or respect DST

informationObjectAddressType

connection

InformationObjectAddressType

The information address size

timeZone

connection

TimeZone

The timezone to use

connectionId

id

String

An identifier grouping connection instances

A connection instance if identified by the host and port part of the URI, plus all parameters in the "id" group. If a new connection id is encountered the connection options will be evaluated and the connection instance is created with those options.

Note
If two URIs specify the same connection (host, port, …) but different connection options, then it is undefined which of those connection options will be used.

The final connection options will be evaluated in the following order:

  • If present, the connectionOptions parameter will be used

  • Otherwise the defaultConnectionOptions instance is copied and customized in the following steps

  • Apply protocolOptions if present

  • Apply dataModuleOptions if present

  • Apply all explicit connection parameters (e.g. timeZone)

You can’t perform that action at this time.