public Map < String , Object > getTransportProperties ( ) { Map < String , Object > propMessageTransport = null ; Record recMessageTransport = Record . makeRecordFromClassName ( MessageTransportModel . THICK_CLASS , this ) ; recMessageTransport . setKeyArea ( MessageTransportModel . CODE_KEY ) ; String strMessageType = this . getMessageTransportType ( ) ; recMessageTransport . getField ( MessageTransportModel . CODE ) . setString ( strMessageType ) ; try { if ( recMessageTransport . seek ( null ) ) { PropertiesField fldProperty = ( PropertiesField ) recMessageTransport . getField ( MessageTransportModel . PROPERTIES ) ; propMessageTransport = fldProperty . loadProperties ( ) ; } } catch ( DBException ex ) { ex . printStackTrace ( ) ; } finally { recMessageTransport . free ( ) ; recMessageTransport = null ; } return propMessageTransport ; }
Get the properties that go with this transport type .