METHOD_0 ( ) { final org . apache . activemq . IDENT_0 . IDENT_1 connection = org . apache . activemq . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_1 ( ) ; connection . start ( ) ; org . apache . activemq . IDENT_0 . IDENT_4 session = connection . METHOD_2 ( true , IDENT_4 . IDENT_5 ) ; org . apache . activemq . IDENT_0 . IDENT_6 IDENT_7 = session . METHOD_3 ( STRING_0 ) ; org . apache . activemq . IDENT_0 . IDENT_8 IDENT_9 = session . METHOD_4 ( IDENT_7 ) ; org . apache . activemq . IDENT_0 . IDENT_10 IDENT_11 = session . METHOD_5 ( org . apache . commons . lang . StringUtils . METHOD_6 ( "a" , 10 ) ) ; IDENT_9 . METHOD_7 ( IDENT_11 ) ; org . apache . activemq . IDENT_0 . IDENT_6 queue = session . METHOD_3 ( "test" ) ; org . apache . activemq . IDENT_0 . IDENT_2 . METHOD_8 ( connection , queue , 100 , ( INT_0 * INT_1 ) ) ; session . commit ( ) ; org . apache . activemq . IDENT_0 . IDENT_2 . METHOD_8 ( connection , queue , 100 , ( INT_0 * INT_1 ) ) ; System . out . println ( java . lang . String . format ( STRING_1 , IDENT_7 . METHOD_9 ( ) , METHOD_10 ( IDENT_7 . METHOD_9 ( ) ) ) ) ; METHOD_11 ( queue . METHOD_9 ( ) ) ; org . apache . activemq . util . IDENT_12 . METHOD_12 ( new org . apache . activemq . util . IDENT_12 . METHOD_13 ( ) { @ org . apache . activemq . IDENT_0 . Override public boolean METHOD_14 ( ) throws org . apache . activemq . IDENT_0 . Exception { return 0 == ( METHOD_10 ( queue . METHOD_9 ( ) ) ) ; } } ) ; IDENT_13 . METHOD_15 ( ) . METHOD_16 ( true ) ; connection . close ( ) ; org . apache . activemq . IDENT_0 . IDENT_2 . METHOD_17 ( METHOD_18 ( ) ) ; IDENT_13 . METHOD_19 ( ) ; IDENT_13 . METHOD_20 ( ) ; METHOD_21 ( ) ; IDENT_13 . METHOD_22 ( ) ; while ( true ) { try { TimeUnit . IDENT_14 . sleep ( 1 ) ; System . out . println ( java . lang . String . format ( STRING_1 , IDENT_7 . METHOD_9 ( ) , METHOD_10 ( IDENT_7 . METHOD_9 ( ) ) ) ) ; break ; } catch ( java . lang . Exception ex ) { System . out . println ( ex . getMessage ( ) ) ; break ; } } "<AssertPlaceHolder>" ; } METHOD_10 ( java . lang . String ) { javax . management . IDENT_15 IDENT_16 = new javax . management . METHOD_23 ( ( STRING_2 + ( org . apache . activemq . util . IDENT_17 . METHOD_24 ( IDENT_18 ) ) ) ) ; org . apache . activemq . IDENT_13 . IDENT_19 . IDENT_20 proxy = ( ( org . apache . activemq . IDENT_13 . IDENT_19 . IDENT_20 ) ( IDENT_13 . METHOD_25 ( ) . METHOD_26 ( IDENT_16 , org . apache . activemq . IDENT_13 . IDENT_19 . IDENT_20 . class , true ) ) ) ; return proxy . METHOD_10 ( ) ; }
org . junit . Assert . assertEquals ( 1 , METHOD_10 ( IDENT_7 . METHOD_9 ( ) ) )