Skip to content

source.getCalledAET

Use when: You want to read values from the original incoming message before any mapping changes. If you need the modified message during mapping, use message.getCalledAET.

Signature: source.getCalledAET()

Returns: String aet - the called AET from the DICOM Association

Get the called Application Entity Title (AET) from the DICOM Association.

Note

This only applies to DICOM Listener channels. A channel's Local AE Title must be '*' to allow different called AET values.

Note

This method only applies to DICOM formatted messages.

Parameters

None

Example

// In a DICOM Listener channel, evaluate the called AET to drive routing logic.

// Check whether the incoming association was addressed to a specific AET.
var isUltraAET = StringUtils.equalsIgnoreCase(
    'QIE_ULTRA',        // expected called AET
    source.getCalledAET()
); // expected: true when the client called QIE_ULTRA