Re: activeMQ 5.3-SNAPSHOT org.apache.commons.net.ftp v2

2009-08-21 Thread ffrenchm
the manifest concerned export line is : org.sp ringframework.beans.factory;resolution:=optional ++ Dejan Bosanac wrote: Hi, I don't see that commons-net is declared as optional package (both in pom and in jar's manifest). BTW. I added it to the lib/optional distribution folder

Re: activeMQ 5.3-SNAPSHOT org.apache.commons.net.ftp v2

2009-08-21 Thread ffrenchm
the manifest concerned export line is : org.sp ringframework.beans.factory;resolution:=optional Thanks for all Dejan Bosanac wrote: Hi, I don't see that commons-net is declared as optional package (both in pom and in jar's manifest). BTW. I added it to the lib/optional distribution

ActiveMQ JMS client in Felix and ObjectMessage with serliazed class throw exception when receiving this message

2009-08-21 Thread ffrenchm
Hello, I discovered a new problem when I try to receive a JMS ObjectMessage under felix environment. To help you to understand my point I make a OSGI sample in which I define two commands to execute on the felix shell: send_obj_msg queuer_address queuer_port queue and receive_obj_msg

Multiple consumers per session/connection

2009-08-21 Thread mkeenan
What is the intended relationship between connections, sessions, and consumers? Is it safe to have multiple sessions on a connection? What about multiple consumers per session? When using transacted session acknowledge mode, the commit or rollback operation occurs at the session level, so it

Re: Multiple consumers per session/connection

2009-08-21 Thread Bruce Snyder
On Fri, Aug 21, 2009 at 2:51 PM, mkeenankee...@p2sol.com wrote: What is the intended relationship between connections, sessions, and consumers?  Is it safe to have multiple sessions on a connection? What about multiple consumers per session? It is common to create many sessions from a single

Re: Multiple consumers per session/connection

2009-08-21 Thread Bruce Snyder
On Fri, Aug 21, 2009 at 3:49 PM, mkeenankee...@p2sol.com wrote: bsnyder wrote: Correct, sessions should be exclusive to a specific consumer and should not be shared at all. Bruce, thanks for the clarification. The reason I brought it up is that I am using Spring.NET with NMS and we

Re: Multiple consumers per session/connection

2009-08-21 Thread mkeenan
bsnyder wrote: The reference I made to the Spring CachingConnectionFactory was for the Spring Java APIs. Since you're working with .NET and I don't, we should include Mark Pollack in this conversation. He's the creator and maintainer of Spring.NET so I'll bet that he can provide some

Any advantage in using Spring?

2009-08-21 Thread gonzus
As a JMS newbie, I am trying to get my head around ActiveMQ. It seems to me that it could be advisable to write ActiveMQ servers and clients using Spring technology; at least in theory, one could avoid writing lots of boilerplate code and tying the code to any ActiveMQ vagaries... at least in

ActiveMQ without J2EE

2009-08-21 Thread gonzus
If these questions don't make much sense, please bear with me; I am just getting into JMS. I am interested in using ActiveMQ to develop pure JMS applications, that will run without any J2EE container. I believe this is possible, but was surprised to see the ActiveMQ minimal JARs include:

Mixing JMS and web apps

2009-08-21 Thread gonzus
Let's say I have a pure JMS-based application, that implements business logic by integrating decoupled components through messaging, with all the advantages this entails. These applications are triggered by incoming payloads (say, files that get dropped into specific folders). I would also like