On Thu, 2011-01-06 at 11:10 +0100, Martin Nicolay wrote:
> Hi.
> 
> I want to use activemq-cpp-library asynchronously in a single-threaded 
> application.
> 
> http://activemq.apache.org/openwire-cpp-client.html says:
>       The socket to the ActiveMQ broker is to be exposed to the 
>       application by the transport layer, and data received on it is to 
>       be passed opaquely to the core library by the application. This 
>       allows for asynchronous messaging with a single-threaded program - 
>       a hard requirement for some developers.

The OpenWire-cpp client is a different beast from ActiveMQ-CPP, so the
documentation there doesn't translate to the ActiveMQ-CPP architecture.
The socket is not exposed in ActiveMQ-CPP.  Perhaps if you elaborate on
your use case we can find an alternate solution for you.

Regards


> 
> I have googled and grep-ed but found nothing about getting this socket.
> http://activemq.apache.org/cms/cms-api-overview.html shows polling with
> receiveNoWait() but polling is no option for me.  This socket must be 
> registered at the existing eventhandler.
> 
> TIA, Martin Nicolay
> 
> -- 
> ______________________________________________________________________________
> No MS-Word attachments 
> (http://www.gnu.org/philosophy/no-word-attachments.html)
> 
> OSM GmbH                               Mail    m.nico...@osm-gmbh.de
> - Softwareentwicklung -                Telefon +49-201/8955-5
> Ruhrallee 191                          Fax     +49-201/8955-400
> D-45136 Essen                          Web     http://www.osm-gmbh.de
> 
> Registergericht: Amtsgericht Essen, HRB 11281
> Geschäftsführer: Johannes Kuhn, Christian Damsky, Axel Roland
> ______________________________________________________________________________

-- 
Tim Bish
------------
FuseSource
Email: tim.b...@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/


Reply via email to