Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Releases: weld/weld-vertx

1.2.0.Final

29 Sep 14:30
Compare
Choose a tag to compare

AsyncReference example

@ApplicationScoped
class Hello {

    @Inject
    AsynReference<ServiceWithBlockingInit> service;

    CompletionStage<String> hello() {
        return service.thenApply(s -> "Hello" + s.getName() + "!");
    }
}

AsyncWorker example

@ApplicationScoped
public class Hello {

    @Inject
    AsyncWorker worker;

    @Inject
    Service service;

    CompletionStage<String> hello() {
        return worker.performBlocking(service::getMessageFromDb).thenApply(m -> "Hello " + m + "!");
    }
}

@WebRoute observer method example

@ApplicationScoped
class Hello {

   @WebRoute("/hello")
   void hello(@Observes RoutingContext ctx) {
     ctx.response().setStatusCode(200).end("Hello!");
   }
 }

1.1.1.Final

30 Aug 12:00
Compare
Choose a tag to compare
  • unordered blocking handler execution used where appropriate (#30)
  • upgrade Weld to 3.0.1.Final
  • added simple hello example and brief readme to translator example (#29)
  • minor refactorings

1.1.0.Final

01 Aug 11:07
Compare
Choose a tag to compare

1.0.0.Final

26 Jun 08:00
Compare
Choose a tag to compare
  • use Weld 3.0.0.Final and CDI 2.0 by default (#24)
  • upgrade Vert.x to 3.4.2
  • upgrade Weld 2 to 2.4.4.Final
  • fix DeliveryOptions (thanks @jphhoeks for contribution!)

1.0.0.CR6

08 Jun 12:05
Compare
Choose a tag to compare
  • upgrade Vert.x to 3.4.1
  • upgrade Weld to 2.4.3.Final
  • WeldVerticle - use asynchronous start/stop methods (#20)
  • VertxExtension - use completion handlers when registering consumers (#21)
  • VertxEvent.setReply() - the first reply set is passed
  • VertxEvent.reply() and VertxEvent.setFailure() removed

1.0.0.CR5

15 Mar 13:56
Compare
Choose a tag to compare
  • upgrade Vert.x to 3.4.0
  • upgrade Weld to 2.4.2.SP1
  • added VertxEvent.reply() and VertxEvent.setFailure() (#19)
  • make it possible to use VertxExtension without WeldVerticle
  • make it possible to use RouteExtension without WeldWebVerticle
  • added WeldWebVerticle.createRouter()

1.0.0.CR4

15 Mar 13:58
Compare
Choose a tag to compare
  • WeldVerticle - allow to pass an existing Weld instance (#14)
  • introduce weld-vertx-probe module (#15)

1.0.0.CR3

10 Jan 14:42
Compare
Choose a tag to compare
  • fix VertxExtension.VertxBean.getId() (#11)
  • fix set of bean types for Vertx and Context beans (thanks @Eymux for reporting the issue!)
  • introduce weld-vertx-service-proxy (#9)
  • upgrade Vert.x to 3.3.3
  • upgrade Weld to 2.4.1.Final