METHOD_0 ( ) { java . util . concurrent . IDENT_0 executor = java . util . concurrent . IDENT_1 . METHOD_1 ( ) ; final javax . jms . IDENT_2 factory = METHOD_2 ( ) ; int IDENT_3 = INT_0 ; final java . util . concurrent . atomic . IDENT_4 IDENT_5 = new java . util . concurrent . atomic . METHOD_3 ( 0 ) ; for ( int i = 0 ; i < IDENT_3 ; i ++ ) { executor . execute ( new java . lang . METHOD_4 ( ) { @ org . apache . activemq . IDENT_6 . Override public void run ( ) { final int IDENT_7 = IDENT_5 . METHOD_5 ( ) ; try { javax . jms . IDENT_8 listener = new org . apache . activemq . IDENT_6 . METHOD_6 ( IDENT_7 , exceptions , org . apache . activemq . IDENT_6 . IDENT_9 . LOG ) ; org . apache . activemq . IDENT_10 connection = ( ( org . apache . activemq . IDENT_10 ) ( factory . METHOD_7 ( ) ) ) ; connection . METHOD_8 ( listener ) ; connection . start ( ) ; "<AssertPlaceHolder>" ; IDENT_11 . add ( connection ) ; } catch ( java . lang . Exception e ) { org . apache . activemq . IDENT_6 . IDENT_9 . LOG . error ( ( STRING_0 + IDENT_7 ) , e ) ; exceptions . put ( java . lang . Thread . METHOD_9 ( ) , e ) ; } } } ) ; } executor . METHOD_10 ( ) ; executor . METHOD_11 ( INT_1 , TimeUnit . IDENT_12 ) ; if ( ! ( exceptions . isEmpty ( ) ) ) { org . apache . activemq . IDENT_6 . IDENT_9 . LOG . error ( ( ( STRING_1 + ( exceptions . size ( ) ) ) + STRING_2 ) , exceptions . values ( ) . iterator ( ) . next ( ) ) ; org . junit . Assert . fail ( ( STRING_3 + ( exceptions . values ( ) . iterator ( ) . next ( ) ) ) ) ; } org . apache . activemq . IDENT_6 . IDENT_9 . LOG . info ( ( ( STRING_4 + IDENT_3 ) + STRING_5 ) ) ; } METHOD_12 ( ) { return this . IDENT_13 ; }
org . junit . Assert . assertNotNull ( connection . METHOD_12 ( ) )