# ActiveMQServerResourceBase

- Module: [CommunityToolkit.Aspire.Hosting.ActiveMQ](/reference/api/go/communitytoolkit.aspire.hosting.activemq.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Base class form ActiveMQ Classic and Artemis server resources.

## Definition

```go
type ActiveMQServerResourceBase interface {
    ExpressionValue
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `ExpressionValue`
- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the ConnectionStringExpression property
- `Host`: `EndpointReferenceExpression` `get` -- Gets the host endpoint reference for this resource.
- `PasswordParameter`: `ParameterResource` `get` -- Gets the parameter that contains the ActiveMQ server password.
- `Port`: `EndpointReferenceExpression` `get` -- Gets the port endpoint reference for this resource.
- `PrimaryEndpoint`: `EndpointReference` `get` -- Gets the primary endpoint for the ActiveMQ server.
- `UriExpression`: `*ReferenceExpression` `get` -- Gets the connection URI expression for the ActiveMQ server.
- `UserNameParameter`: `ParameterResource` `get` -- Gets the parameter that contains the ActiveMQ server username.

## Methods

- [WithConfBindMount](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase/withconfbindmount.md) -- `method` -- Adds a bind mount for the conf folder to a ActiveMQ container resource.
  ```go
  WithConfBindMount(source string, options ...*WithConfBindMountOptions) ActiveMQServerResourceBase
  ```
- [WithConfVolume](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase/withconfvolume.md) -- `method` -- Adds a named volume for the config folder to a ActiveMQ container resource.
  ```go
  WithConfVolume(options ...*WithConfVolumeOptions) ActiveMQServerResourceBase
  ```
- [WithDataBindMount](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a ActiveMQ container resource.
  ```go
  WithDataBindMount(source string, options ...*WithDataBindMountOptions) ActiveMQServerResourceBase
  ```
- [WithDataVolume](/reference/api/go/communitytoolkit.aspire.hosting.activemq/activemqserverresourcebase/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a ActiveMQ container resource.
  ```go
  WithDataVolume(options ...*WithDataVolumeOptions) ActiveMQServerResourceBase
  ```
