Ana içeriğe geç

Creating Connector Type API Proxy

Protocol Conversion

Converts incoming HTTP requests and delivers them to different protocols and systems such as Kafka, RabbitMQ, ActiveMQ, and Mail.

Form-Based Configuration

Select the connector type, configure the connection definition, and create the API Proxy without writing code.

Raw Data Delivery

Connectors do not use the variable concept; data received from the client is sent to the external system raw.

Reusable Connections

Secure and centralized access to the target system is provided through previously defined Connections.

bilgi

Unlike classic REST/SOAP proxies, a Connector API Proxy does not forward the request to a backend HTTP service. Instead, it routes the request to the selected connector. This enables scenarios such as writing data to a message queue or sending email over HTTP.

Supported Connectors

Main connectors you can use when creating a Connector API Proxy on Apinizer:

ActiveMQ

Used for ActiveMQ connections.

Elasticsearch

Used for Elasticsearch connections.

FTP List

Used for listing files over FTP.

FTP Read

Used for reading files over FTP.

Graylog

Used for Graylog connections.

Kafka

Used for Kafka connections.

Logback

Used for Logback connections.

Email

Used for sending email.

RabbitMQ

Used for RabbitMQ connections.

SNMP

Used for SNMP connections.

Syslog

Used for Syslog connections.

ipucu

To create connection definitions, see Connection Management. For connector details, see Connectors.

Creating a New Connector API Proxy

Go to the API Proxies Page from the Menu

Select Development → API Proxies in the main menu.

Create a New API Proxy

Click the +Add API Proxy button at the top right of the opened interface.

Add API Proxy button
Select the Connector Type

Click the Create an API Proxy link on the Connector card among the API Proxy type options.

Connector type selection
Fill Connector and Proxy Information

Enter the API Proxy name in the Name field. Click the + button next to the Connector field and select the connector type from the Connectors window. Then fill in the Client Route fields and click Save.

Fill Connector API Proxy information

Connector API Proxy Definition Fields

Fields used for the Connector API Proxy definition are shown in the table below.

FieldDescription
NameThe name given to the API Proxy by the user. This name appears in interfaces.
ConnectorThe connector type to be used. Selected from the list opened with the + button: ActiveMQ, Elasticsearch, FTP List, FTP Read, Graylog, Kafka, Logback, Email, RabbitMQ, SNMP, Syslog.
Relative PathsPart of the address where the API Proxy is exposed. Must be unique within the project. Example: /order-to-kafka
HostsOptional host definitions.
MethodsHTTP methods allowed for this API Proxy (GET, POST, PUT, DELETE, PATCH, etc.).
HeadersHTTP headers to be added or changed at the API Proxy level.
bilgi

For details about Client Route fields, see Client Route Settings.

Connector Configuration

After selecting the connector type, connector-specific configuration fields appear on the screen. These fields change according to the selected connector.

Message Queue Connectors (Kafka / RabbitMQ / ActiveMQ)

The body of the HTTP request is delivered to the selected message queue. Typical use cases: producing events and placing messages into an asynchronous work queue.

FieldDescription
Connection DefinitionSelected from the Kafka, RabbitMQ, or ActiveMQ connection pool.
Target / Topic / QueueTopic or queue information where the message will be written. Naming may vary by connector type.
Email Connector

When an HTTP request is received, email is sent through the configured connection.

FieldDescription
Connection DefinitionSMTP / email connection definition is selected.
Recipient / Subject / ContentFields used for email delivery. Fill them according to the fields shown on the connector screen.
Elasticsearch / FTP / Graylog / Logback / SNMP / Syslog

Depending on the selected connector type, fields such as index, file path, log target, or trap settings appear. For field details, see the related connector page.

uyarı

Connectors do not use the variable concept. Data received from the client is delivered to the selected target raw. If mapping or transformation is required, relevant policies must be defined separately on the API Proxy.

After Creation

After the save step, what can be done is the same as for other API Proxy types:

  • Adding and managing policies
  • API traffic log settings
  • Deploy / Redeploy / Undeploy

For details, see API Proxy Creation and Deployment and Version Management.

Deploy / Redeploy

After the API Proxy is created, it must be deployed to the relevant environment so that clients can access it. For details, see Deployment and Version Management.

uyarı

When the connector type or Client Route fields are changed, the API Proxy must be redeployed for the changes to take effect.

Deleting a Connector API Proxy

When a Connector API Proxy is deleted, it is first removed from the environment (undeploy) and then deleted.

bilgi

The Connection definition is not deleted; only its relationship with this proxy ends. The same connection can continue to be used by other proxies, Task Flows, or log connectors.