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