METHOD_0 ( ) { org . apache . activemq . artemis . core . server . IDENT_0 server = METHOD_1 ( false , METHOD_2 ( ) ) ; server . start ( ) ; IDENT_1 . METHOD_3 ( 0 ) ; org . apache . activemq . artemis . api . core . client . IDENT_2 sf = METHOD_4 ( IDENT_1 ) ; org . apache . activemq . artemis . api . core . client . IDENT_3 session = sf . METHOD_5 ( false , false , false ) ; session . METHOD_6 ( STRING_0 , STRING_0 , true ) ; session . close ( ) ; int IDENT_4 = 5 ; java . util . ArrayList < org . apache . activemq . artemis . api . core . client . IDENT_5 > IDENT_6 = new java . util . ArrayList ( ) ; java . util . ArrayList < org . apache . activemq . artemis . api . core . client . IDENT_3 > IDENT_7 = new java . util . ArrayList ( ) ; for ( int i = 0 ; i < IDENT_4 ; i ++ ) { org . apache . activemq . artemis . api . core . client . IDENT_3 IDENT_8 = sf . METHOD_5 ( ) ; org . apache . activemq . artemis . api . core . client . IDENT_5 consumer = IDENT_8 . METHOD_7 ( STRING_0 ) ; IDENT_6 . add ( consumer ) ; IDENT_8 . start ( ) ; IDENT_7 . add ( IDENT_8 ) ; consumer . METHOD_8 ( 10 ) ; } org . apache . activemq . artemis . api . core . client . IDENT_3 IDENT_9 = sf . METHOD_5 ( false , false ) ; org . apache . activemq . artemis . api . core . client . IDENT_10 IDENT_11 = IDENT_9 . METHOD_9 ( STRING_0 ) ; org . apache . activemq . artemis . api . core . client . IDENT_12 IDENT_13 = IDENT_9 . METHOD_10 ( true ) ; IDENT_13 . METHOD_11 ( STRING_1 , STRING_2 ) ; IDENT_11 . METHOD_12 ( IDENT_13 ) ; IDENT_9 . commit ( ) ; IDENT_9 . start ( ) ; org . apache . activemq . artemis . api . core . client . IDENT_5 consumer = IDENT_6 . get ( 2 ) ; org . apache . activemq . artemis . api . core . client . IDENT_12 IDENT_14 = consumer . METHOD_8 ( 1000 ) ; "<AssertPlaceHolder>" ; for ( org . apache . activemq . artemis . api . core . client . IDENT_3 IDENT_15 : IDENT_7 ) { IDENT_15 . close ( ) ; } IDENT_9 . close ( ) ; } METHOD_8 ( long ) { session . METHOD_13 ( ) ; try { if ( IDENT_16 . LOGGER . METHOD_14 ( ) ) { IDENT_16 . LOGGER . trace ( ( ( ( STRING_3 + ( this ) ) + STRING_4 ) + IDENT_17 ) ) ; } METHOD_15 ( ) ; javax . jms . Message message = consumer . METHOD_8 ( IDENT_17 ) ; if ( IDENT_16 . LOGGER . METHOD_14 ( ) ) { IDENT_16 . LOGGER . trace ( ( ( ( STRING_5 + ( this ) ) + STRING_6 ) + message ) ) ; } if ( message == null ) { return null ; } else { return METHOD_16 ( message ) ; } } finally { session . METHOD_17 ( ) ; } }
org . junit . Assert . assertNotNull ( IDENT_14 )