Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 580D1200D26 for ; Fri, 20 Oct 2017 17:05:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 56B60160BCB; Fri, 20 Oct 2017 15:05:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C4881609E1 for ; Fri, 20 Oct 2017 17:05:04 +0200 (CEST) Received: (qmail 92696 invoked by uid 500); 20 Oct 2017 15:05:03 -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 92685 invoked by uid 99); 20 Oct 2017 15:05:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2017 15:05:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F346E1A04C0 for ; Fri, 20 Oct 2017 15:05:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id AsijT8bx4s3c for ; Fri, 20 Oct 2017 15:05:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 573405FD8E for ; Fri, 20 Oct 2017 15:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 90AFBE06BB for ; Fri, 20 Oct 2017 15:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1F12521EE4 for ; Fri, 20 Oct 2017 15:05:00 +0000 (UTC) Date: Fri, 20 Oct 2017 15:05:00 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7534) Bus set on jaxws-endpoint is not honored anymore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Oct 2017 15:05:05 -0000 [ https://issues.apache.org/jira/browse/CXF-7534?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D162127= 61#comment-16212761 ]=20 Daniel Kulp commented on CXF-7534: ---------------------------------- You are likely going to need to create a test case for this. I just did a = "git diff cxf-3.1.10 cxf-3.1.11" and I don't see ANYTHING in the diff that = would have any impact on the bus that is being used. Also, two tests that= I know use unique busses defined like that (core/src/test/java/org/apache/= cxf/bus/spring/BusDefinitionParserTest.java and core/src/test/java/org/apac= he/cxf/bus/spring/SpringBusFactoryTest.java) both pass.=20 > Bus set on jaxws-endpoint is not honored anymore > ------------------------------------------------ > > Key: CXF-7534 > URL: https://issues.apache.org/jira/browse/CXF-7534 > Project: CXF > Issue Type: Bug > Components: Bus, JAX-WS Runtime > Affects Versions: 3.1.11, 3.2.0 > Reporter: Lars K=C3=B6dderitzsch > Fix For: NeedMoreInfo > > > We're setting up a bus for our JAX-WS endpoints with custom features/inte= rceptors to handle some cross-cutting concerns. > This worked quite well up until cxf-3.1.10. In all following versions, ho= wever, the interceptors are not triggered anymore. > Some debugging revealed that while the endpoint is being initialized with= the correct bus, at runtime a different bus instance (one that holds only = a single PolicyInInterceptor) is being used. > Please advise how the cause can be pinned down, I'm a bit lost in the int= ernal complexities of CXF... > Sample configuration: > {code:xml} > > > > > > > > > > > > =20 > > > bus=3D"geco.proton.jaxws.bus" > address=3D"${services.intern.iorouter-ev-v1.settings[@end= pointAddress]}" implementor=3D"#contr.iorouter.v1.ControllerIORouterWSImpl" > wsdlLocation=3D"${services.intern.iorouter-ev-v1.settings= [@wsdlLocation]}" endpointName=3D"ns:ControllerEV" > serviceName=3D"ns:ControllerEV" xmlns:ns=3D"http://finkon= sens.de/geco/controller/ev/v1"> > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)