Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AD02D299 for ; Sun, 7 Oct 2012 10:10:09 +0000 (UTC) Received: (qmail 6285 invoked by uid 500); 7 Oct 2012 10:10:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 5918 invoked by uid 500); 7 Oct 2012 10:10:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 5871 invoked by uid 99); 7 Oct 2012 10:10:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Oct 2012 10:10:02 +0000 Date: Sun, 7 Oct 2012 10:10:02 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@activemq.apache.org Message-ID: <396248592.6267.1349604602617.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (AMQ-1884) maven-activemq-plugin doesn't have proper VM transport support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved AMQ-1884. ------------------------------ Resolution: Won't Fix Assignee: Claus Ibsen VM transport is only intended for running in same JVM, not when forking the JVM. > maven-activemq-plugin doesn't have proper VM transport support > -------------------------------------------------------------- > > Key: AMQ-1884 > URL: https://issues.apache.org/jira/browse/AMQ-1884 > Project: ActiveMQ > Issue Type: Wish > Components: Broker > Affects Versions: 5.1.0 > Reporter: Tuomas Kiviaho > Assignee: Claus Ibsen > Priority: Minor > Fix For: NEEDS_REVIEWED > > > I tried to use broker by forking it for integration test purposes, but noticed that VM transport doesn't work because of maven classloader created duplicate VMTransportFactory.class instances . > I even tried to create a plexus container singleton-keep-alive component from broker service in order to make sure that same instance of VMTransportFactory is shared thorough integration test phases. This way I was able to create start stop goals for the plugin which worked great at pre and post integration test phases but component failed to exist in different plugins at integration test phase. > I guess the right approach is to introduce a maven build extension -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira