@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ConnectionConfiguration
Configures the connection settings of the connection factory that is used by the class annotated
by this configuration. The content of this configuration is evaluated by a
ConnectionConfigurator.
| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
DEFAULT_PROFILE |
static java.lang.String |
PROFILE_PROPERTY |
| Modifier and Type | Optional Element and Description |
|---|---|
int |
frameMax |
int |
heartbeat |
java.lang.String |
host |
java.lang.String |
password |
int |
port |
java.lang.String |
profile
The profile name of this configuration.
|
int |
timeout |
java.lang.String |
username |
java.lang.String |
virtualHost |
public abstract java.lang.String profile
The profile name of this configuration. If a profile is specified, this configuration is only
used if the system property PROFILE_PROPERTY is set to the
specified value (e.g. test, staging, ...).