package com.cameleer.server.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.util.Map;

@Schema(description = "Request to replay an exchange on an agent")
public record ReplayRequest(
        @NotNull @Schema(description = "Camel route ID to replay on")
        String routeId,
        @Schema(description = "Message body for the replayed exchange")
        String body,
        @Schema(description = "Message headers for the replayed exchange")
        Map<String, String> headers,
        @Schema(description = "Exchange ID of the original execution being replayed (for audit trail)")
        String originalExchangeId
) {}
