Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004067 [Resin] major always 06-02-10 10:24 11-11-10 10:58
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.14 Product Version 4.0.6
  Product Build
Summary 0004067: @Qualifier dispatch
Description (rep by Jeff Schnitzer)

I'm making good progress getting SubEtha running on 4.0.6, but now I
seem to have a strange and self-contradictory error:

[10-05-30 11:24:11.854] {main}
org.subethamail.core.queue.InjectListener.outboundQueue:
javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a
bean for 'java.util.concurrent.BlockingQueue<org.subethamail.core.queue.DeliveryQueueItem>'
because no beans match the type and bindings
[@org.subethamail.core.queue.DeliveryQueue()].
                               Beans:
                                   XmlBean[FileQueue,
{@org.subethamail.core.queue.DeliveryQueue(),
@javax.inject.Named(value=delivery), @Any()}, name=delivery,
@Singleton]
                                   XmlBean[FileQueue,
{@org.subethamail.core.queue.InjectQueue(),
@javax.inject.Named(value=inject), @Any()}, name=inject, @Singleton]

There is clearly a FileQueue with @DeliveryQueue present, yet the
manager can't seem to resolve it!

Here's the resin-web.xml declaration of the FileQueue:

    <jms:FileQueue>
        <queue:DeliveryQueue/>
        <ee:Named>delivery</ee:Named>
    </jms:FileQueue>

Here's the injection point in InjectListener:

    @Inject @DeliveryQueue BlockingQueue<DeliveryQueueItem> outboundQueue;

DeliveryQueue is pretty straightforward:

@Qualifier
@Target({FIELD,METHOD,PARAMETER})
@Retention(RUNTIME)
public @interface DeliveryQueue
{}

Any idea what might be wrong?

Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004831)
ferg
11-11-10 10:58

ioc/2601

-- however the cdi regressions may disallow this case
 

- Issue History
Date Modified Username Field Change
06-02-10 10:24 ferg New Issue
06-02-10 10:32 voodude Issue Monitored: voodude
09-15-10 19:37 reza Severity minor => major
11-11-10 10:58 ferg Note Added: 0004831
11-11-10 10:58 ferg Assigned To  => ferg
11-11-10 10:58 ferg Status new => closed
11-11-10 10:58 ferg Resolution open => fixed
11-11-10 10:58 ferg Fixed in Version  => 4.0.14
07-21-13 14:08 mcarbonneaux Issue Monitored: mcarbonneaux


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker