METHOD_0 ( ) { java . lang . String queue = STRING_0 ; int IDENT_0 = 100 ; final java . lang . String IDENT_1 = STRING_1 ; int IDENT_2 = IDENT_3 . IDENT_4 ; com . IDENT_5 . IDENT_6 . IDENT_7 ctx = new com . IDENT_5 . IDENT_6 . METHOD_1 ( com . IDENT_5 . IDENT_6 . METHOD_1 . IDENT_8 ) ; try { org . apache . activemq . transport . IDENT_6 . IDENT_9 connection = new org . apache . activemq . transport . IDENT_6 . METHOD_2 ( ctx , STRING_2 , port , false ) ; connection . METHOD_3 ( STRING_3 ) ; connection . METHOD_4 ( ( - 1 ) ) ; connection . METHOD_5 ( ( INT_0 * 4 ) ) ; connection . METHOD_6 ( new org . apache . activemq . transport . IDENT_6 . METHOD_7 ( ) { public void METHOD_8 ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } ) ; connection . connect ( ) ; { org . apache . activemq . transport . IDENT_6 . IDENT_10 session = connection . METHOD_9 ( 10 , 10 ) ; org . apache . activemq . transport . IDENT_6 . IDENT_11 p = session . METHOD_10 ( queue , IDENT_2 ) ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { com . IDENT_5 . IDENT_6 . IDENT_12 . IDENT_13 . IDENT_14 msg = new com . IDENT_5 . IDENT_6 . IDENT_12 . IDENT_13 . METHOD_11 ( ) ; System . out . println ( ( STRING_4 + i ) ) ; msg . METHOD_12 ( new com . IDENT_5 . IDENT_6 . IDENT_12 . IDENT_15 . IDENT_13 . IDENT_16 . METHOD_13 ( new com . IDENT_5 . IDENT_6 . IDENT_12 . types . METHOD_14 ( java . lang . String . format ( IDENT_1 , i ) ) ) ) ; p . METHOD_15 ( msg ) ; } p . close ( ) ; session . close ( ) ; } System . out . println ( STRING_5 ) ; System . out . println ( STRING_6 ) ; System . out . println ( STRING_5 ) ; { org . apache . activemq . transport . IDENT_6 . IDENT_10 session = connection . METHOD_9 ( 10 , 10 ) ; org . apache . activemq . transport . IDENT_6 . IDENT_17 c = session . METHOD_16 ( queue , 100 , IDENT_2 , true , null ) ; int i = 0 ; while ( i < IDENT_0 ) { com . IDENT_5 . IDENT_6 . IDENT_12 . IDENT_13 . METHOD_11 msg = c . METHOD_17 ( ) ; if ( msg != null ) { final com . IDENT_5 . IDENT_6 . IDENT_12 . types . IDENT_18 value = msg . METHOD_18 ( ) . getValue ( ) ; if ( value instanceof com . IDENT_5 . IDENT_6 . IDENT_12 . types . METHOD_14 ) { java . lang . String s = ( ( com . IDENT_5 . IDENT_6 . IDENT_12 . types . METHOD_14 ) ( value ) ) . getValue ( ) ; "<AssertPlaceHolder>" ; System . out . println ( ( STRING_7 + i ) ) ; } if ( ! ( msg . METHOD_19 ( ) ) ) msg . accept ( ) ; i ++ ; } } c . close ( ) ; session . close ( ) ; } connection . close ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } getValue ( ) { return value ; }
org . junit . Assert . assertEquals ( java . lang . String . format ( IDENT_1 , i ) , s )