METHOD_0 ( ) { connection = METHOD_1 ( ) ; final javax . jms . IDENT_0 session = connection . METHOD_2 ( false , IDENT_0 . IDENT_1 ) ; final javax . jms . IDENT_2 queue = session . METHOD_3 ( METHOD_4 ( ) ) ; connection . start ( ) ; org . apache . activemq . transport . IDENT_3 . IDENT_4 . IDENT_5 t = new org . apache . activemq . transport . IDENT_3 . IDENT_4 . METHOD_5 ( ) { @ org . apache . activemq . transport . IDENT_3 . Override public MOD_0 void run ( ) { try { for ( int i = 0 ; i < 10 ; ++ i ) { javax . jms . IDENT_6 IDENT_7 = session . METHOD_6 ( queue ) ; MOD_0 ( session ) { session . METHOD_7 ( ) ; } if ( IDENT_7 == null ) { msg = STRING_0 ; } TimeUnit . IDENT_8 . sleep ( 1 ) ; } msg = STRING_1 ; } catch ( java . lang . Exception ex ) { org . apache . activemq . transport . IDENT_3 . IDENT_4 . LOG . info ( STRING_2 , ex ) ; } } } ; MOD_0 ( session ) { new java . lang . Thread ( t ) . start ( ) ; session . METHOD_8 ( INT_0 ) ; } METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { if ( ( msg ) != null ) { org . junit . Assert . fail ( msg ) ; } return true ; }
org . junit . Assert . assertTrue ( t . METHOD_10 ( ) )