Abdulrazak-Alkl / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

jruby_poller breaks with Rails 2.1 #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install gems and plugin, but Rails version is 2.1.0
2. generate a processor
3. Start the jruby_poller

What is the expected output? What do you see instead?

Expected the processor to be set up and subscribing to queues.

The following exception is raised instead:

Starting thread default to finish processing last message...
Dispatch exception: undefined method `prepare_application' for
#<ActionController::Dispatcher:0x19b60bb>
/home/uwe/workspace/aifudis/aifudis.admin/vendor/plugins/activemessaging/lib/act
ivemessaging/support.rb:8:in
`prepare_application_for_dispatch'
    /home/uwe/workspace/aifudis/aifudis.admin/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:189:in `prepare_application'
    /home/uwe/workspace/aifudis/aifudis.admin/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:199:in `dispatch'
    /home/uwe/workspace/aifudis/aifudis.admin/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:197:in `dispatch'
    /home/uwe/workspace/aifudis/aifudis.admin/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:93:in `stop'
    :1:in `start'

What version of the product are you using? On what operating system?

Rails 2.1.0
activemessaging trunk from approximately 2008-06-03
ActiveMQ 5.1
JRuby 1.1.2
Sun Java 1.6.0_02

Please provide any additional information below.

Thank you for developing a critical component in the Ruby programming
environment!

We are using it in a mission critical application, to be delivered within
10 months.  Tell me if you would like to use it as a reference.  References
always look cool on a project web site :)

Original issue reported on code.google.com by don...@gmail.com on 6 Jun 2008 at 8:30

GoogleCodeExporter commented 8 years ago
Hello - 
I just put in a fix for 2.1 that should fix this problem as well, let me know 
if it
does not.

As for references, I haven't been collecting them, and I probably should - and 
I'm
always interested to hear how a13g gets used. So send it along, that would be 
great.

It would be especially cool as I know of only a couple of jruby projects using
activemessaging.

Original comment by kooks...@gmail.com on 11 Jun 2008 at 5:00

GoogleCodeExporter commented 8 years ago
should be fixed along with other 2.1 issues

Original comment by kooks...@gmail.com on 11 Jun 2008 at 5:00