ecotone-metadata

Manage and propagate message headers across Ecotone messages with attributes.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/ecotoneframework/skills --skill ecotone-metadata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecotone-metadata
Source: https://github.com/ecotoneframework/skills/tree/main/skills/ecotone-metadata
Command: npx skills add https://github.com/ecotoneframework/skills --skill ecotone-metadata

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing and propagating metadata headers across Ecotone messages to ensure contextual data travels with commands, events, and queries.

Core Features & Use Cases

  • Read and access specific headers via #[Header]
  • Retrieve all headers via #[Headers]
  • Declarative header enrichment with #[AddHeader]/#[RemoveHeader]
  • Control propagation with #[PropagateHeaders]
  • Test and verify header propagation in EcotoneLite environments

Quick Start

Use the ecotone-metadata skill to read, enrich, and propagate headers across a simple command-to-event flow.

Frequently Asked Questions about ecotone-metadata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and access message headers in Ecotone?

Read message headers in Ecotone by applying the #[Header] attribute to method parameters, or retrieve all headers at once using the #[Headers] attribute in command and event handlers.

How do I propagate metadata headers across Ecotone messages?

Propagate metadata headers across Ecotone messages by applying the #[PropagateHeaders] attribute, ensuring contextual data travels with commands, events, and queries between handlers.

Can I add or remove headers declaratively during message handling?

Add or remove headers declaratively during message handling in Ecotone using the #[AddHeader] and #[RemoveHeader] attributes for interceptor-driven enrichment.

How do I test message header propagation in Ecotone?

Test message header propagation in Ecotone using EcotoneLite testing utilities, which allow you to verify that headers are correctly read, enriched, and preserved across handler flows.

Does Ecotone support attribute-based header enrichment for events and queries?

Ecotone supports attribute-based header enrichment for events and queries through declarative attributes like #[AddHeader] and interceptor-driven changes for managing message metadata.