METHOD_0 ( ) { final javax . jms . IDENT_0 connection = METHOD_1 ( ) ; this . connection = connection ; connection . start ( ) ; final javax . jms . IDENT_1 session = connection . METHOD_2 ( false , IDENT_1 . IDENT_2 ) ; final javax . jms . IDENT_3 queue = session . METHOD_3 ( name . METHOD_4 ( ) ) ; java . lang . Thread t = new java . lang . Thread ( ) { @ org . apache . IDENT_4 . jms . consumer . Override public void run ( ) { try { TimeUnit . IDENT_5 . sleep ( 5 ) ; javax . jms . IDENT_6 IDENT_7 = session . METHOD_5 ( queue ) ; IDENT_7 . METHOD_6 ( session . METHOD_7 ( STRING_0 ) ) ; } catch ( java . lang . Exception e ) { org . apache . IDENT_4 . jms . consumer . IDENT_8 . LOG . warn ( STRING_1 , e . getMessage ( ) ) ; } } } ; t . start ( ) ; javax . jms . IDENT_9 consumer = session . METHOD_8 ( queue ) ; javax . jms . Message msg = consumer . METHOD_9 ( INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( long ) { try { return consumer . METHOD_9 ( IDENT_10 ) ; } catch ( javax . jms . IDENT_11 e ) { throw org . apache . IDENT_4 . jms . exceptions . IDENT_12 . METHOD_10 ( e ) ; } }
org . junit . Assert . assertNotNull ( msg )