# AzureServiceBusCorrelationFilter

- Module: [Aspire.Hosting.Azure.ServiceBus](/reference/api/go/aspire.hosting.azure.servicebus.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents the correlation filter expression.

## Definition

```go
type AzureServiceBusCorrelationFilter struct {
    Properties            map[string]any `json:"Properties"`
    CorrelationId         *string        `json:"CorrelationId"`
    MessageId             *string        `json:"MessageId"`
    SendTo                *string        `json:"SendTo"`
    ReplyTo               *string        `json:"ReplyTo"`
    Subject               *string        `json:"Subject"`
    SessionId             *string        `json:"SessionId"`
    ReplyToSessionId      *string        `json:"ReplyToSessionId"`
    ContentType           *string        `json:"ContentType"`
    RequiresPreprocessing *bool          `json:"RequiresPreprocessing"`
}
```

## Fields

- `Properties`: `map[string]any` -- Dictionary object for custom filters.
- `CorrelationId`: `*string` -- Identifier of the correlation.
- `MessageId`: `*string` -- Identifier of the message.
- `SendTo`: `*string` -- Address to send to.
- `ReplyTo`: `*string` -- Address of the queue to reply to.
- `Subject`: `*string` -- Application specific label.
- `SessionId`: `*string` -- Session identifier.
- `ReplyToSessionId`: `*string` -- Session identifier to reply to.
- `ContentType`: `*string` -- Content type of the message.
- `RequiresPreprocessing`: `*bool` `optional` -- Value that indicates whether the rule action requires preprocessing.
