Re: HTTP- Authentication

2009-11-26 Thread Mick Knutson
you can use BASIC authentication. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Re

Re: Maven + ActiveMQ + my own code

2009-10-15 Thread Mick Knutson
http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website:

Re: Maven + ActiveMQ + my own code

2009-10-15 Thread Mick Knutson
If you use Spring, you can have Spring start an embedded broker for you in a unit test like: http://www.baselogic.com/blog/java/testing-activemq-virtualtopics-using-camel-and-junit --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & A

issue with MDP and VirtualTopic Unit Test

2009-09-07 Thread Mick Knutson
ination.expectedMessageCount(99); // Send the test message to make Server Service create our Status Message producerTemplate.sendBody("jms:queue:sendStatusUpdate", ExchangePattern.InOnly, 1); // now lets assert that the mock endpoint received messa

Re: How to send one message to a topic in MDB?

2009-09-07 Thread Mick Knutson
: Then I use Mocks to test I get the messages delivered. Because as i look at your stack, it seems that the broker might not be started, and/or your MDB has not successfully connected to your destination. Maybe Spring can be an easier route? --- Thank You… Mick Knutson

Re: How to create destinations after the start of embedded broker

2009-09-07 Thread Mick Knutson
Mocks themselves as if I change the expected number of messages received, I stop getting any messages to those Mocks. - I also, can not seem to validate the changed name in the * container.getDestinationName()* call after I change the destination. --- Thank You… Mick Knutson, Presi

VirtualTopic subscription and testing with Spring MDP's?

2009-08-31 Thread Mick Knutson
dynamically set the destination to different Topics all together. I want to be able to reset the Destination at runtime, and often based on rules. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-

Re: ActiveMQ configuration guide

2009-08-18 Thread Mick Knutson
There is a new book on AMQ being written. You can get MEAP on the AMQ site now. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN:

changing rg.apache.activemq.command.ActiveMQQueue destination at runtime?

2009-08-11 Thread Mick Knutson
I an creating a MDP and want to set the rg.apache.activemq.command.ActiveMQQueue destination at runtime to point to a VirtualTopic. Does anyone have any examples of this, and/or any gotchas ? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring

Re: Virtual Topic and remote Client consumers

2009-08-11 Thread Mick Knutson
m/temp/services.zip It should run on its own if you want to see my issue. I cd into the * table-service-su* DIR and run: mvn camel:run -e in one cmd prompt. Then in another one, I run mvn verify -e to run the unit tests. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architec

Re: Virtual Topic and remote Client consumers

2009-08-05 Thread Mick Knutson
uot;, String.class); assertEquals("Hello World", body); }* Now I am not able to get any body messages on *activemq:Player.1.VirtualTopic.TABLE.1 a*nd I have only used the embedded broker at this point. So what actually happens is my tests run freezes. I asume it is waiting for a me

Re: Virtual Topic and remote Client consumers

2009-08-04 Thread Mick Knutson
the results in the morning. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental:

Re: Virtual Topic and remote Client consumers

2009-08-04 Thread Mick Knutson
Where can I find import org.apache.activemq.spring.ConsumerBean; I have looked at the activemq-camel and activemq-core jars and they are not there. It appears to be just for testing? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & A

Re: Virtual Topic and remote Client consumers

2009-08-04 Thread Mick Knutson
..VirtualTopic.*table123 (*) Such as: Consumer.*A*.VirtualTopic.*table123 * and: Consumer.*B*.VirtualTopic.*table123 * A JUnit test would be amazing guidence. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC

Virtual Topic and remote Client consumers

2009-08-04 Thread Mick Knutson
ould be able to get a message on a queue "*Player.A.VirtualTopic.Table.123*" ??? Just seems like I am missing something on the creation of the Virtual Topics and the Queues the consumer(s) connect to. Does anyone have examples of this? --- Thank You… Mick Knutson, President BASE Logic, Inc.

Re: iBates configuration

2008-11-07 Thread Mick Knutson
he different sql statement ( such as"insertAccount" parameterClass="Account">)? > > For each sql statement I need to define, what does parameterClass mean? Is > it just an arbitrary name? > > Any help will be greatly appreciated. > > Regards, > Woo

Re: implementing a "Recipient List" integration pattern via Camel?

2008-10-07 Thread Mick Knutson
e ActiveMQ - User mailing list archive at Nabble.com. > > -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MyS

Re: issue routing Exchange to custom method in Processor

2008-09-29 Thread Mick Knutson
Can someone help me? On Fri, Sep 26, 2008 at 3:10 PM, Mick Knutson <[EMAIL PROTECTED]>wrote: > The funny thing is, when I have an error with the message coming from this > queue, which I do because process(Exchange) does not expect my message body, > the message gets route

Re: setting dead Letter header in catch block?

2008-09-26 Thread Mick Knutson
t this does not work as my Mock still does not get the error: resultErrorEndpoint.message(0).header(Constants.EXCEPTION_MESSAGE).isNotNull(); This is always null. Can someone help? On Thu, Sep 25, 2008 at 5:18 PM, Mick Knutson <[EMAIL PROTECTED]>wrote: > I have t

Can someone help me understand Endpoint mapping?

2008-09-26 Thread Mick Knutson
rse a channel itself? -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknu

setting dead Letter header in catch block?

2008-09-25 Thread Mick Knutson
as to the error that occurred? Or is there a better way? -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.c

Re: Trying to understand how to deal with process() errors and creating an exceptionChannel for bad messages.

2008-09-23 Thread Mick Knutson
Can anyone help me on this? On Tue, Sep 23, 2008 at 2:00 PM, Mick Knutson <[EMAIL PROTECTED]>wrote: > To give some background here is my process: > > *public void process(Exchange exchange) > throws Exception { > log.info("process ChangeReque

Re: New message timeout design question

2008-09-19 Thread Mick Knutson
the 2 processes. On Wed, Sep 17, 2008 at 12:13 AM, James Strachan <[EMAIL PROTECTED]>wrote: > 2008/9/16 Mick Knutson <[EMAIL PROTECTED]>: > > 1 thought I had looking through the patterns is using an aggregator. > Even > > though there is only 1 message going ou

Re: testNG test harness for Camel, sending and receiving messages

2008-09-17 Thread Mick Knutson
tart(466) | Failed to start ActiveMQ JMS Message Broker. Reason: java.lang.IllegalStateException: Shutdown in progress * But there is an error in bold above. On Tue, Sep 16, 2008 at 11:14 PM, James Strachan <[EMAIL PROTECTED]>wrote: > 2008/9/16 Mick Knutson <[EMAIL PROTECTED]>

testNG test harness for Camel, sending and receiving messages

2008-09-16 Thread Mick Knutson
class to send and receive messages. Then after the tests have run, the plugin can shutdown. -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in

Re: New message timeout design question

2008-09-16 Thread Mick Knutson
the alloted timeframe, we are complete, otherwise the aggreggator can have a TTL then send a new message to the DLC. Does this sound correct? On Mon, Sep 15, 2008 at 10:36 PM, James Strachan <[EMAIL PROTECTED]>wrote: > 2008/9/15 Mick Knutson <[EMAIL PROTECTED]>: > > I w

New message timeout design question

2008-09-16 Thread Mick Knutson
in 1.1 hours to another processor? -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http

setting up remote debugging in activeMQ and Intellij ???

2008-09-11 Thread Mick Knutson
Can someone help me to setup remote debugging within Intellij for activeMQ ? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick

camel routing issues

2008-09-11 Thread Mick Knutson
nel, *not the* **changeRequestTransformerChannel* Can someone help me understand what I am missing to get this route completed? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://li

Need help understanding Camel server and Client deployments

2008-09-10 Thread Mick Knutson
dded first, I want to use the full deployment mech. --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MyS

How do I implement a message timeout pattern?

2008-09-05 Thread Mick Knutson
I will be sending a message to a queue that is to be consumed by a php client. I then want to get a NEW status message created and sent to a statusChannel with 5 minutes. If I do not get a new message in 5 minutes, I want to take action. --- Thank You… Mick Knutson BASE Logic, inc. (415) 354

Help getting started with STOMP please

2008-09-04 Thread Mick Knutson
not have a wsdl first apporach so as to not have to maintain wsdl's. Can someone point me in the right direction? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: