Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 698C61951C for ; Tue, 1 Mar 2016 08:02:18 +0000 (UTC) Received: (qmail 69592 invoked by uid 500); 1 Mar 2016 08:02:18 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 69457 invoked by uid 500); 1 Mar 2016 08:02:18 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 69426 invoked by uid 99); 1 Mar 2016 08:02:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 08:02:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 12F722C0453 for ; Tue, 1 Mar 2016 08:02:18 +0000 (UTC) Date: Tue, 1 Mar 2016 08:02:18 +0000 (UTC) From: =?utf-8?Q?Tobias_Sch=C3=B6neberg_=28JIRA=29?= To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-6810) Oneway with jms-transport not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tobias Sch=C3=B6neberg created CXF-6810: -------------------------------------- Summary: Oneway with jms-transport not working Key: CXF-6810 URL: https://issues.apache.org/jira/browse/CXF-6810 Project: CXF Issue Type: Bug Components: JAX-RS Affects Versions: 3.0.8, 3.1.5, 3.1.4 Reporter: Tobias Sch=C3=B6neberg I'm trying to call a jax-rs service interface in a one-way fashion, using j= ms transport. I think this should work because of this documentation: http:= //cxf.apache.org/docs/jax-rs-advanced-features.html#JAX-RSAdvancedFeatures-= Onewayinvocations There, i read that both the Oneway annotation and the "OnewayRequest" clien= t header plan a role. However, I didn't get it to work.=20 I'm attaching junit tests where i basically iterate through these threee va= riables: * header "OnewayRequest" set/not set * calling a method anotated/not annotated with "Oneway" * calling a method returning Result vs. calling a void method =3D> i.e. 8 individual tests >From those scenarios, only the two ones with "OnewayReques" not set" that c= all a not-annotated method work as i would have expeced. Basically with "Oneway" i get a java.lang.NullPointerException at org.apach= e.cxf.jaxrs.client.AbstractClient.setResponseBuilder(AbstractClient.java:39= 8) and with the header being set i eventually get a client timeout. So there might be two issues, or i'm getting something wrong with the confi= g, but probably there is something to fix here.. Best regards, Tobias -- This message was sent by Atlassian JIRA (v6.3.4#6332)