• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Unable to find service in Registry

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good Evening. I am pretty new to the world of spring and java.
I am trying to write a program that will use a camel route and once we have some input it goes to a processor and does some DB transactions. The problem I am facing is that when I do a
OneService oneService = exchange.getContext().getRegistry().lookupByNameAndType("OneServiceImpl", OneService.class);
this returns a null and I am not able to call any methods in the daoImpl. Can someone please help me with this. The source code is attached as a zip file.
Please help as your earliest convenience as I have a very stringent deadline to beat.
Thanks in advance.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic