METHOD_0 ( ) { java . util . ArrayList < java . lang . String > IDENT_0 = new java . util . ArrayList ( ) ; IDENT_0 . add ( STRING_0 ) ; org . apache . activemq . artemis . jms . tests . IDENT_1 . METHOD_1 ( 0 , STRING_0 , 1 , STRING_0 ) ; javax . jms . IDENT_2 conn = null ; try { javax . jms . IDENT_3 IDENT_4 = ( ( javax . jms . IDENT_3 ) ( IDENT_5 . METHOD_2 ( STRING_1 ) ) ) ; conn = IDENT_4 . METHOD_3 ( ) ; javax . jms . IDENT_6 IDENT_7 = conn . METHOD_4 ( false , IDENT_6 . IDENT_8 ) ; javax . jms . IDENT_6 IDENT_9 = conn . METHOD_4 ( false , IDENT_6 . IDENT_8 ) ; final java . lang . Object IDENT_10 = new java . lang . Object ( ) ; final int IDENT_11 = INT_0 ; class IDENT_12 implements javax . jms . IDENT_13 { int IDENT_14 ; @ org . apache . activemq . artemis . jms . tests . Override public void METHOD_5 ( final javax . jms . Message msg ) { ( IDENT_14 ) ++ ; if ( ( IDENT_14 ) == ( IDENT_11 - 2 ) ) { MOD_0 ( IDENT_10 ) { IDENT_10 . METHOD_6 ( ) ; } } } } final IDENT_12 IDENT_15 = new METHOD_7 ( ) ; class IDENT_16 implements javax . jms . IDENT_13 { int IDENT_14 ; @ org . apache . activemq . artemis . jms . tests . Override public void METHOD_5 ( final javax . jms . Message msg ) { ( IDENT_14 ) ++ ; MOD_0 ( IDENT_10 ) { while ( ( IDENT_15 . IDENT_14 ) != ( IDENT_11 - 2 ) ) { try { IDENT_10 . METHOD_8 ( INT_1 ) ; } catch ( java . lang . IDENT_17 e ) { } } IDENT_10 . METHOD_9 ( ) ; } } } final IDENT_16 IDENT_18 = new METHOD_10 ( ) ; javax . jms . IDENT_19 IDENT_20 = IDENT_7 . METHOD_11 ( IDENT_21 ) ; IDENT_20 . METHOD_12 ( IDENT_18 ) ; javax . jms . IDENT_19 IDENT_22 = IDENT_9 . METHOD_11 ( IDENT_21 ) ; IDENT_22 . METHOD_12 ( IDENT_15 ) ; javax . jms . IDENT_6 IDENT_23 = conn . METHOD_4 ( false , IDENT_6 . IDENT_8 ) ; javax . jms . IDENT_24 IDENT_25 = IDENT_23 . METHOD_13 ( IDENT_21 ) ; conn . start ( ) ; for ( int i = 0 ; i < IDENT_11 ; i ++ ) { javax . jms . IDENT_26 IDENT_27 = IDENT_23 . METHOD_14 ( ( STRING_2 + i ) ) ; IDENT_25 . METHOD_15 ( IDENT_27 ) ; } MOD_0 ( IDENT_10 ) { while ( ( IDENT_15 . IDENT_14 ) != ( IDENT_11 - 2 ) ) { IDENT_10 . METHOD_8 ( INT_1 ) ; } while ( ( IDENT_18 . IDENT_14 ) != 2 ) { IDENT_10 . METHOD_8 ( INT_1 ) ; } } "<AssertPlaceHolder>" ; } finally { try { if ( conn != null ) { conn . close ( ) ; } } catch ( java . lang . Exception e ) { log . warn ( e . toString ( ) , e ) ; } try { org . apache . activemq . artemis . jms . tests . IDENT_1 . METHOD_16 ( STRING_0 ) ; } catch ( java . lang . Exception e ) { log . warn ( e . toString ( ) , e ) ; } } } METHOD_15 ( java . lang . String ) { IDENT_28 . METHOD_15 ( new org . springframework . jms . core . METHOD_17 ( ) { @ org . apache . activemq . artemis . example . tomcat . IDENT_29 . Override public javax . jms . Message METHOD_18 ( javax . jms . IDENT_6 session ) throws javax . jms . IDENT_30 { return session . METHOD_14 ( text ) ; } } ) ; return STRING_3 + text ; }
org . junit . Assert . assertTrue ( ( ( IDENT_15 . IDENT_14 ) == ( IDENT_11 - 2 ) ) )