public DestinationDefinition createSystemDefaultExceptionDestination ( ) throws SIResourceException , SIMPDestinationAlreadyExistsException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createSystemDefaultExceptionDestination" ) ; // Set up a suitable definition DestinationDefinition defaultExceptionDestDef = createDestinationDefinition ( DestinationType . QUEUE , SIMPConstants . SYSTEM_DEFAULT_EXCEPTION_DESTINATION + getMessagingEngineName ( ) ) ; // Set up a suitable qos defaultExceptionDestDef . setMaxReliability ( Reliability . ASSURED_PERSISTENT ) ; defaultExceptionDestDef . setDefaultReliability ( Reliability . ASSURED_PERSISTENT ) ; defaultExceptionDestDef . setUUID ( SIMPUtils . createSIBUuid12 ( SIMPConstants . SYSTEM_DEFAULT_EXCEPTION_DESTINATION + getMessagingEngineName ( ) ) ) ; // Destination is localized on this ME Set < String > destinationLocalizingMEs = new HashSet < String > ( ) ; destinationLocalizingMEs . add ( getMessagingEngineUuid ( ) . toString ( ) ) ; // Create the destination _destinationManager . createDestinationLocalization ( defaultExceptionDestDef , createLocalizationDefinition ( defaultExceptionDestDef . getName ( ) ) , destinationLocalizingMEs , false ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "createSystemDefaultExceptionDestination" , defaultExceptionDestDef ) ; return defaultExceptionDestDef ; }
Method to create the System default exception destination . There will be a default exception destination per Messaging Engine .