---
title: Enable and manage Logging from Apache Camel with Nodinite | Step-by-step Guide
description: "Enable robust, self-service logging from Apache Camel to Nodinite. Learn how to implement asynchronous logging, leverage Log Views, and empower your business with actionable insights using Nodinite's Pickup Service."
---

# How to enable Logging from Apache Camel solutions to Nodinite

Unlock powerful, self-service logging for your Apache Camel solutions with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. This guide shows you how to implement asynchronous logging, leverage [Log Views][], and empower your business with actionable insights—all in one unified platform.

✅ Enable robust, asynchronous logging from Apache Camel to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>  
✅ Empower business users with self-service Log Views  
✅ Capture payloads, context, and selected flows for full traceability  
✅ Centralize all your logging and monitoring in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>  

> Learn how to perform [Asynchronous Logging][] from Apache Camel to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

You must add custom logging code to your Apache Camel solution to log business transactions to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

<div class="mermaid">
graph LR
    subgraph "Apache Camel"
        roBroker(fal:fa-brackets-curly Custom Code)-->roSink(fal:fa-file-export Intermediate storage )
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>  

*Diagram: Data flows from Apache Camel custom code to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] and [Log API][].*

Enable self-service [Log Views][] for your business by implementing the following:  

✅ Payload logging  
✅ Context logging (key-value)  
✅ Selected flows (any number)  

## Step by step guide

Follow these steps to enable seamless logging from Apache Camel to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

### 1. Create the event

In your flows, add custom logging (regardless of the target). Typically, you use **Log4J** or similar frameworks depending on your design, policy, and needs.  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Design your logging strategy to be vendor-neutral. Make your logging logic easy to enable or disable, and ensure you can manage log destinations without redesigning solutions already in production.</p></div>
</aside>

<div class="mermaid">
graph LR
    subgraph "Systems Integrations Solutions"
    roStrategy(fal:fa-lightbulb-on Logging Strategy) --> roBroker{fal:fa-brackets-curly Reusable</br>Generic Logging logic}
    roBroker --> | Nodinite JSON Log Event | roSink(fal:fa-file-export Intermediate storage )  
    roBroker -.->|"The other format(s)"| ro2["Other Log destination(s)"]  
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>

*Diagram: Logging strategy routes events to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and other destinations for maximum flexibility.*

### 2. Convert the logged event to Nodinite format

Translate your logs to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][].

To uniquely identify the [Log Agent][Log Agents], provide a **LogAgentValueId**. To separate logging from different environments (e.g., Prod, Test, QA), make the **LogAgentValueId** (mandatory number) a configurable part of your Apache Camel solution.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Map your existing properties to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s standard properties. Attach context and payload as needed to maximize value.</p></div>
</aside>

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><strong>Critical: Set OriginalMessageTypeName for searchable data</strong></p><p>When creating your <a href="https://docs.nodinite.com/core-services/log-event/features/json-log-event/">JSON Log Event</a>, always include the <strong>OriginalMessageTypeName</strong> field:</p><ol>
<li><a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> identify message formats (PurchaseOrder, Invoice, Shipment, CustomerUpdate, etc.)</li>
<li><a href="https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/">Search Field Expressions</a> extract business data - Order Numbers, Customer IDs, Invoice amounts, Transaction codes, etc.</li>
<li><a href="https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/">Log Views</a> become searchable by business identifiers, not just timestamps</li>
<li><a href="https://docs.nodinite.com/logging-and-monitoring/non-events/overview/">Non-Events Monitoring</a> can track volumes, detect missing messages, and alert on pattern anomalies</li>
<li><a href="https://docs.nodinite.com/repository-model/bpms/overview/">Business Process Modeling (BPM)</a> can correlate transactions end-to-end across Apache Camel and other systems</li>
</ol><p><strong>Without proper Message Types and <a href="https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/">Search Fields</a>, your Apache Camel events are stored but not searchable by business data.</strong> Learn more: <a href="https://docs.nodinite.com/core-services/log-event/overview/">Log Event Processing</a></p></div>
</aside>

### 3. Send Event to intermediate storage

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] fetches logged events from many intermediate storages.

Your intermediate storage should be close to the Apache Camel installation (i.e., local) and highly available.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Do not send your logged events <strong>synchronously</strong> to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/core-services/log-api/overview/">Log API</a>. Always use the asynchronous pattern with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Log Events Service Logging Agent</a>.</p></div>
</aside>

<i class="fal fa-arrow-to-right" aria-hidden="true"></i> [Asynchronous Logging][]

### 4. Move logged events using the Nodinite Pickup Service

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] fetches [Log Events][Log Event] from many intermediate storages. Consume the [Log Events][Log Event] from any of these that fit your purpose.

### 5. Enable self-service from within Nodinite

Once you have data logged inside <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, create [Role][Roles]-based [Log Views][] and invite your business to share insights and data from your logging.

## <i class="fal fa-shield-check" aria-hidden="true"></i> What firewall settings are required?

Apache Camel never connects to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> directly, so you open these hops only:

* **Apache Camel → intermediate storage**: the storage's own port, for example SMB 445 for a file share, 1433 for SQL Server, 5671-5672 and 443 for Azure Event Hubs or Service Bus, or 443 for Azure Blob Storage. A local folder or database needs no rule.
* **[Pickup Service][] → intermediate storage**: the same port, outbound from the server that runs the Pickup Service.
* **Pickup Service → [Log API][]**: the Log API site port, set per environment in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Portal. No rule is needed when both run on the Core Services Server.

The [Pickup Service firewall settings][Pickup firewall] list every port and hostname per storage type.

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Apache Camel Logging uses the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service].

You can find solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service Logging Agent][Pickup Service] in the [Pickup Troubleshooting][] user guide.

### <i class="fal fa-play" aria-hidden="true"></i> How do I get started?

First, read our [Asynchronous Logging][] user guide.

### <i class="fal fa-search-dollar" aria-hidden="true"></i> How do I access the Logged data?

Access to logged data for [Users][] is provided by the use of [Log Views][] with [Role][Roles]-based security.
___
  
## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite Pickup Service][Install Pickup Service]  
<i class="fal fa-file" aria-hidden="true"></i> [Configure Message Types][Message Types] - Make your Apache Camel data searchable and enable advanced features  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-search" aria-hidden="true"></i> [Log Views][]  
<i class="fal fa-arrow-to-right" aria-hidden="true"></i> [Asynchronous Logging][]  
<i class="fal fa-file" aria-hidden="true"></i> [Message Types][] - Critical for Search Field extraction from Apache Camel events  
<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][] - Extract business data from Apache Camel messages  
<i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][] - Track message volumes and patterns  
<i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - End-to-end process tracking across Apache Camel and other systems  

[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Install Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/install/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Event Processing]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Pickup firewall]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/prerequisites/#fa-shield-check-firewall-requirements
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Pickup Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/troubleshooting/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/