Before we go down the road of all the problems with this code, can you elaborate on your use-case? Why exactly are you trying to extend JGroupsFileBroadcastEndpointFactory? Why not use the implementation that already exists? And ultimately what are you trying to do with it?
Please be thorough and clear. Your previous emails to this list have tended to lack clarity and meaningful follow-up which makes it difficult to assist. Justin On Thu, Oct 30, 2025 at 1:59 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <[email protected]> wrote: > Anything wrong with the code? Why both endpointFactory.getChannelName() > and endpointFactory.getFile() is null? > > JGroupsFileBroadcastEndpointFactory endpointFactory = *new* > *JGroupsFileBroadcastEndpointFactory()* { > > @Override > > *public* BroadcastEndpoint createBroadcastEndpoint() *throws* > Exception { > > *System.out*.println("Creating JGroups File > BroadcastEndpoint..."); > > > > JGroupsFileBroadcastEndpoint endpoint = *new* > JGroupsFileBroadcastEndpoint( > > JChannelManager.*getInstance*(), > > "jgroups-file.xml", > > " jgroup_channel" > > ); > > > > // Initialize the channel > > endpoint.initChannel(); > > *System.out*.println("JGroups BroadcastEndpoint created > successfully"); > > *return* endpoint; > > } > > }; > > *System.out*.println("Channel Name=" + endpointFactory.getChannelName()); > > *System.out*.println("File=" + endpointFactory.getFile()); > > > > > > > > *Rahman Gunawan* > > *SITSS Software Developer* > > NASA SEWP / SITSS > > HALV*I*K Corporation > > 7601 Ora Glen Dr, Greenbelt, MD 20770 > > C: 240.444.6003 > O: 301.614.5257 > > [email protected] > > > > >
