• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to find service in Registry

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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.
reply
    Bookmark Topic Watch Topic
  • New Topic