Re: java qpid server embedded, upgrading from 6.x to 7.x

2018-12-12 Thread Alex O7;Ree
The wiki article worked perfectly thanks!. Is there an equivalent for versions v6.0.0 and v6.1.0? On Wed, Dec 12, 2018 at 7:19 AM Alex O'Ree wrote: > sweet, thanks! > > On Mon, Dec 10, 2018 at 4:39 AM Oleksandr Rudyy wrote: > >> Hi Alex, >> >> You ca

Re: java qpid server embedded, upgrading from 6.x to 7.x

2018-12-12 Thread Alex O7;Ree
inImpl.java > [3] > https://github.com/apache/qpid-broker-j/blob/master/systests/systests-utils/src/main/java/org/apache/qpid/tests/utils/QpidTestRunner.java > > On Sun, 9 Dec 2018 at 13:02, Alex O'Ree wrote: > > > > Never mind, foun

Re: java qpid server embedded, upgrading from 6.x to 7.x

2018-12-09 Thread Alex O7;Ree
Never mind, found it. For reference https://issues.apache.org/jira/browse/QPID-7486 see commit 0965d3d26b2598b2591032408cd6a490437b7383 Nov 2, 2016 On Sat, Dec 8, 2018 at 9:03 PM Alex O'Ree wrote: > I use qpid during integration tests and basically fire up an embedded qpid

java qpid server embedded, upgrading from 6.x to 7.x

2018-12-08 Thread Alex O7;Ree
I use qpid during integration tests and basically fire up an embedded qpid server programmatically, then run my tests, then stop the server. I have a working setup for 6.0.0 and was attempt to update to a 7.x version and found that the entry point i was using has been changed, specifically the 'Bro

Java SASL based rest client example

2018-12-08 Thread Alex O7;Ree
There are any example java based rest clients or examples that use SASL based authentication to qpid?

Re: Starting up Qpid for integration testing with JMX listener

2017-10-09 Thread Alex O7;Ree
Keith, quick follow up question. Any idea when the REST API was introduced with the statistics getters? On Mon, Oct 9, 2017 at 4:43 PM, Alex O'Ree wrote: > Cool thanks > > On Oct 9, 2017 4:14 AM, "Keith W" wrote: >> >> Hi Alex >> >> The decisi

Re: Starting up Qpid for integration testing with JMX listener

2017-10-09 Thread Alex O7;Ree
ges" : 0, > "unacknowledgedBytes" : 0, > "unacknowledgedMessages" : 0 > } > > Most statistics have reasonably intuitive names but for more > information, until QPID-7790, see the textual description attached to > the statistics's getter metho

Re: Starting up Qpid for integration testing with JMX listener

2017-10-07 Thread Alex O7;Ree
AM, Alex O'Ree wrote: > Sorry, hit send too quickly > > if I uncomment > options.setManagementModeJmxPortOverride(9099); > it appears to have no affect on the JMX listener starting up. > > Any recommendations on how to enable it programmatically? > using qpid vers

Re: Starting up Qpid for integration testing with JMX listener

2017-10-07 Thread Alex O7;Ree
Sorry, hit send too quickly if I uncomment options.setManagementModeJmxPortOverride(9099); it appears to have no affect on the JMX listener starting up. Any recommendations on how to enable it programmatically? using qpid version 6.0.0 On Sat, Oct 7, 2017 at 11:12 AM, Alex O'Ree

Starting up Qpid for integration testing with JMX listener

2017-10-07 Thread Alex O7;Ree
Hello qpid community. I have a product that integrates with Qpid and have happily been running integration tests with it without much of a fuss. In the past, I've written to this mailing list on how to attach qpid's java server as a maven dependency and start it up programmatically in a unit test

Re: unknown virtual host?

2016-02-03 Thread Alex O7;Ree
It then clears the virtualHostInitialConfiguration attribute so it > doesn't try to do the same thing next time it starts (which would be bad as > you don't want to overwrite the now updated virtual host config). > > Hope this helps, > Rob > > On 4 February 2016 at 0

Re: unknown virtual host?

2016-02-03 Thread Alex O7;Ree
[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.5.0:test [INFO] | +- org.apache.bcel:bcel:jar:5.2:test [INFO] | \- com.google.guava:guava:jar:18.0:test [INFO] \- org.dojotoolkit:dojo:zip:distribution:1.10.2:test On Wed, Feb 3, 2016 at 6:55 PM, Alex O'Ree wrote: > here's the config. looks ok to

Re: unknown virtual host?

2016-02-03 Thread Alex O7;Ree
} ] } On Wed, Feb 3, 2016 at 4:17 PM, Rob Godfrey wrote: > Can you post the config here? "Unknown virtualhost" might indicate > improperly configured virtual host aliases... or it may be some other issue > > > Correctly configured virtualhostaliases would look somethin

unknown virtual host?

2016-02-03 Thread Alex O7;Ree
Again, with the thread of an embedded qpid server in a unit test... I can get the test case (connect to amqp and wait for a reply) to run fine with qpid running from the distro. When running the server in the unit test, I'm now running into the follow error. Connecting to amqp://guest:guest@/defa

Re: Unit/integration test example?

2016-02-02 Thread Alex O7;Ree
ny > folks currently more familiar with these bits have an idea? > > Robbie > > On 2 February 2016 at 12:21, Alex O'Ree wrote: >> Ran into another related issueis there a way to set the >> authentication mode and/or ssl information programmatically? or should &g

Re: Unit/integration test example?

2016-02-02 Thread Alex O7;Ree
:5672' Caused by: org.apache.qpid.AMQException: Cannot connect to broker (tcp://127.0.0.1:5672): CRAM-MD5 authentication failed [error code 320: connection forced] On Mon, Feb 1, 2016 at 7:40 AM, Alex O'Ree wrote: > Robbie, > > spot on, that was it! thanks! I'm up and runni

Re: Unit/integration test example?

2016-02-01 Thread Alex O7;Ree
rey wrote: >> Can you give the full stack trace... also are you cleaning up after running >> this, or is there a config.json from a previous run now written somewhere >> (on startup the broker will, by default, write out a config file based on >> the initial config, and in subseq

Re: Unit/integration test example?

2016-01-31 Thread Alex O7;Ree
ss. > > -- Rob > > > > On 31 January 2016 at 23:31, Alex O'Ree wrote: > >> Thanks Rob! Appreciate the help >> >> Unfortunately, after setting the property, it didn't make any >> difference. Still trying to start on 8080. >> >> Any c

Re: Unit/integration test example?

2016-01-31 Thread Alex O7;Ree
t; > For proper unit testing you'd probably want a different initial config > using in-memory stores / config. You might also want to set the ports to > use to be port 0 (which will allocate a random free port). > > Hope this helps, > Rob >

Re: Unit/integration test example?

2016-01-31 Thread Alex O7;Ree
tMode(false); options.setStartupLoggedToSystemOut(true); broker.startup(options); The issue is that I have a port conflict on port 8080 and setting the ManagementModeHttpPortOverride doesn't seem to be honored. Any ideas? On Sun, Jan 31, 2016 at 4:07 PM, Alex O'Re

Unit/integration test example?

2016-01-31 Thread Alex O7;Ree
I'm working on a project that needs to fire up a qpid java broker, send some messages, wait for replies, then shutdown, in the context of a java unit test in maven. I saw that this used to be possible on SO at one point. Anyhow, is there any examples on how to do this? Perhaps I could reuse one of

Re: qpid management tools for windows

2012-03-12 Thread Alex O7;Ree
If you're using the java build of qpid, you can also use the jConsole or other jmx front ends. You can get most of the statistics from the py scripts from jmx, but not all. Ehm, it would be nice if they provided the same data, ehm. On Mon, Mar 12, 2012 at 1:07 PM, Steve Huston wrote: > Then I be

Re: Topic Publisher: SaslRegistrar error?

2012-02-13 Thread Alex O7;Ree
so much as indication that > something had already succeeded; the client was trying to do something > twice it should really only have done once and so the second time > 'failed' becuase the first attempt had already been done. > > Robbie > > On 13 February 2012 15:19, Alex

Topic Publisher: SaslRegistrar error?

2012-02-13 Thread Alex O7;Ree
Has anyone ran across this error message? I found the line in the source code, but as far as what the underlying cause is, I have no idea. ERROR [org.apache.qpid.client.security.DynamicSaslRegistrar] Unable to load custom SASL providers. I've attached the debugger and it appears to read the prope

Re: Would there be any issue using JQuery in a Qpid based web application

2012-02-13 Thread Alex O7;Ree
Usually pub/sub components that exist in a website use an additional data store to store the received messaged temporarily and then poll the data source periodically from the browser. so amqp server > a subscriber > database browser > polling rest service > database On Sun, Feb 12, 2012 at 8:52