JMSJobQueueBundle icon indicating copy to clipboard operation
JMSJobQueueBundle copied to clipboard

Replacement of standard console application

Open temp opened this issue 12 years ago • 5 comments

Why is the replacement of the standard console application needed? This leads to several disadvantages, for example that a database connection is always created on execution of app/console. Wouldn't it be better to just implement a command that runs a job by ID? In our project the tests now fail, because we have no database configured for the tests.

temp avatar Apr 04 '13 09:04 temp

:thumbsup:

kingcrunch avatar Apr 26 '13 23:04 kingcrunch

:+1:

pborreli avatar May 08 '13 09:05 pborreli

I don't see how we can gather debug information without overriding the application, a command which just runs another command cannot do this. The jms-job-queue:run command basically already does what you suggest and can only log output.

Maybe we can find another solution to lazily create the connection.

schmittjoh avatar Jun 23 '13 09:06 schmittjoh

There are console events introduced in 2.3. Aren't they not enough?

Koc avatar Jul 11 '13 21:07 Koc

Just a quick note: in one of my projects we solved this by setting the jms_job_queue.statistics to false for the test environment.

Tjeerd avatar Oct 08 '13 09:10 Tjeerd