Mantis - Resin
Viewing Issue Advanced Details
4132 minor always 07-20-10 19:58 01-14-11 12:42
voodude  
ferg  
normal  
closed  
fixed  
none    
none 4.0.15  
0004132: Documentation for messaging is broken
This page produces an error: http://caucho.com/resin/examples/jms-php-queue-receive/index.xtp [^]

500 Servlet Exception

example.AdProducer._producer: javax.enterprise.inject.UnsatisfiedResolutionException:
Can't find a bean for 'interface java.util.concurrent.BlockingQueue' because
no beans match the type and bindings [@Default(), @javax.inject.Named(value=AdQueue)].
Beans:
    InjectionBean[MemoryQueue, {@Named('AdQueue')}, name=AdQueue, @Singleton]
    InjectionBean[MemoryQueue, {@Named('ControlQueue')}, name=ControlQueue, @Singleton]

Also, the MDB page is out of date, making references to javax.webbeans.In and <jms-queue/>:

http://caucho.com/resin/examples/jms-ioc-listener/index.xtp [^]

There are no notes attached to this issue.