If you are starting your Job from a Web Request, initialize your Bayeaux service (as Rodolfo mentioned) and pass that to your processing Job (Your Job doesn't have to be WebApi aware) as Rodolfo said, Bauyeaux is meant to be used a messaging API.
On Tue, Aug 3, 2010 at 11:00 AM, fachhoch [via Apache Wicket] < ml-node+2311905-1356455233-229...@n4.nabble.com<ml-node%2b2311905-1356455233-229...@n4.nabble.com> > wrote: > If I do that I am using web api in service which is not good , so any other > way ? > > ------------------------------ > View message @ > http://apache-wicket.1842946.n4.nabble.com/using-cometd-with-threads-tp2310323p2311905.html > To unsubscribe from Apache Wicket, click > here<http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ=>. > > > -- Sincerely, JC Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-cometd-with-threads-tp2310323p2311920.html Sent from the Wicket - User mailing list archive at Nabble.com.